Class: Ibex::Frontend::AST::GrammarTest
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::GrammarTest
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#expectation ⇒ Object
Returns the value of attribute expectation.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#source ⇒ Object
Returns the value of attribute source.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#expectation ⇒ Object
Returns the value of attribute expectation
142 143 144 |
# File 'lib/ibex/frontend/ast.rb', line 142 def expectation @expectation end |
#loc ⇒ Object
Returns the value of attribute loc
142 143 144 |
# File 'lib/ibex/frontend/ast.rb', line 142 def loc @loc end |
#source ⇒ Object
Returns the value of attribute source
142 143 144 |
# File 'lib/ibex/frontend/ast.rb', line 142 def source @source end |
Class Method Details
.new(expectation:, source:, loc:) ⇒ instance .new(arg0) ⇒ instance
180 181 |
# File 'sig/ibex/frontend/ast.rbs', line 180
def self.new: (?expectation: Symbol, ?source: String, ?loc: Location) -> instance
| ({ ?expectation: Symbol, ?source: String, ?loc: Location }) -> instance
|