Class: Ibex::Frontend::AST::Group
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Group
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#alternatives ⇒ Object
Returns the value of attribute alternatives.
-
#loc ⇒ Object
Returns the value of attribute loc.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#alternatives ⇒ Object
Returns the value of attribute alternatives
284 285 286 |
# File 'lib/ibex/frontend/ast.rb', line 284 def alternatives @alternatives end |
#loc ⇒ Object
Returns the value of attribute loc
284 285 286 |
# File 'lib/ibex/frontend/ast.rb', line 284 def loc @loc end |
Class Method Details
.new(alternatives:, loc:) ⇒ instance .new(arg0) ⇒ instance
409 410 |
# File 'sig/ibex/frontend/ast.rbs', line 409
def self.new: (?alternatives: Array[Array[item]], ?loc: Location) -> instance
| ({ ?alternatives: Array[Array[item]], ?loc: Location }) -> instance
|