Syntaks::Source
Inherits Reference < Object
Constructors
new(content : String)
SourceInstance methods
byte_slice(range : Range)
Sourcebyte_slice(*args, **options)
Sourcebyte_slice(*args, **options, &)
Sourcecheck(at : Int32, regex : Regex)
Sourcefind_leading_newline_idx_at_byte(at : Int32)
Sourceinspect(io)
Sourceline_end_at_byte(at : Int32)
Sourceline_start_at_byte(at : Int32)
Sourcenewline_indices
Sourcepeek(at : Int32, length : Int32)
Sourcesize(*args, **options)
Sourcesize(*args, **options, &)
Sourceslow_lookup(from, length) : String
Sourceslow_lookup(range : Range) : String
Source