Class: Ibex::Frontend::AST::LexerState
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::LexerState
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#definitions ⇒ Object
Returns the value of attribute definitions.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#definitions ⇒ Object
Returns the value of attribute definitions
162 163 164 |
# File 'lib/ibex/frontend/ast.rb', line 162 def definitions @definitions end |
#loc ⇒ Object
Returns the value of attribute loc
162 163 164 |
# File 'lib/ibex/frontend/ast.rb', line 162 def loc @loc end |
#name ⇒ Object
Returns the value of attribute name
162 163 164 |
# File 'lib/ibex/frontend/ast.rb', line 162 def name @name end |
Class Method Details
.new(name:, definitions:, loc:) ⇒ instance .new(arg0) ⇒ instance
217 218 |
# File 'sig/ibex/frontend/ast.rbs', line 217
def self.new: (?name: String, ?definitions: Array[lexer_entry], ?loc: Location) -> instance
| ({ ?name: String, ?definitions: Array[lexer_entry], ?loc: Location }) -> instance
|