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
264 265 266 |
# File 'lib/ibex/frontend/ast.rb', line 264 def alternatives @alternatives end |
#loc ⇒ Object
Returns the value of attribute loc
264 265 266 |
# File 'lib/ibex/frontend/ast.rb', line 264 def loc @loc end |
Class Method Details
.new(alternatives:, loc:) ⇒ instance .new(arg0) ⇒ instance
383 384 |
# File 'sig/ibex/frontend/ast.rbs', line 383
def self.new: (?alternatives: Array[Array[item]], ?loc: Location) -> instance
| ({ ?alternatives: Array[Array[item]], ?loc: Location }) -> instance
|