Class: Lrama::Lexer::Token::Empty
- Defined in:
- lib/lrama/lexer/token/empty.rb
Instance Attribute Summary
Attributes inherited from Base
#alias_name, #errors, #location, #referred, #s_value
Instance Method Summary collapse
-
#initialize(location: nil) ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from Base
#==, #first_column, #first_line, #invalid_ref, #last_column, #last_line, #referred_by?, #to_s, #validate
Constructor Details
#initialize(location: nil) ⇒ Empty
Returns a new instance of Empty.
8 9 10 |
# File 'lib/lrama/lexer/token/empty.rb', line 8 def initialize(location: nil) super(s_value: '%empty', location: location) end |