class Luce::DedentedText

Overview

A class that describes a dedented text

Defined in:

luce/util.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, tab_remaining : Int32 | Nil) #

Instance Method Detail

def tab_remaining : Int32 | Nil #

How many spaces of tab that remain after part of it has been consumed.

nil means that we did not read a tab.


def text : String #

The indented text