Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Syntaks::Source
Inherits
Reference
<
Object
Constructors
new
(content :
String
)
Source
Instance methods
byte_slice
(range :
Range
)
Source
byte_slice
(*args, **options)
Source
byte_slice
(*args, **options, &)
Source
check
(at :
Int32
, regex :
Regex
)
Source
column_number_at_byte
(at :
Int32
)
0..*
Source
find_leading_newline_idx_at_byte
(at :
Int32
)
Source
inspect
(io)
Source
line_end_at_byte
(at :
Int32
)
Source
line_number_at_byte
(at :
Int32
)
0..newline_indices.size
Source
line_start_at_byte
(at :
Int32
)
Source
newline_indices
Source
peek
(at :
Int32
, length :
Int32
)
Source
size
(*args, **options)
Source
size
(*args, **options, &)
Source
slow_lookup
(from, length) :
String
Source
slow_lookup
(range :
Range
) :
String
Source