class Crystal::Lexer
inherits Reference
¶
Direct known subclasses
Crystal::Parser
Class methods¶
Methods¶
#delimited_pair(kind, string_nest, string_end, start, allow_escapes = true, advance = true)
¶
(kind, string_nest, string_end, start, allow_escapes = true, advance = true)
#heredocs : Array({Crystal::Token::DelimiterState, Crystal::Lexer::HeredocItem})
¶
: Array({Crystal::Token::DelimiterState, Crystal::Lexer::HeredocItem})
Heredocs pushed when found. Should be processed when encountering a newline
#raise(message, line_number = @line_number, column_number = @column_number, filename = @filename)
¶
(message, line_number = @line_number, column_number = @column_number, filename = @filename)