Class: Ibex::Frontend::AST::Alternative
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Alternative
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#items ⇒ Object
Returns the value of attribute items.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#node_annotation ⇒ Object
Returns the value of attribute node_annotation.
-
#precedence ⇒ Object
Returns the value of attribute precedence.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
213 214 215 |
# File 'lib/ibex/frontend/ast.rb', line 213 def action @action end |
#items ⇒ Object
Returns the value of attribute items
213 214 215 |
# File 'lib/ibex/frontend/ast.rb', line 213 def items @items end |
#loc ⇒ Object
Returns the value of attribute loc
213 214 215 |
# File 'lib/ibex/frontend/ast.rb', line 213 def loc @loc end |
#node_annotation ⇒ Object
Returns the value of attribute node_annotation
213 214 215 |
# File 'lib/ibex/frontend/ast.rb', line 213 def node_annotation @node_annotation end |
#precedence ⇒ Object
Returns the value of attribute precedence
213 214 215 |
# File 'lib/ibex/frontend/ast.rb', line 213 def precedence @precedence end |
Class Method Details
.new(items:, action:, precedence:, node_annotation:, loc:) ⇒ instance .new(arg0) ⇒ instance
296 297 |
# File 'sig/ibex/frontend/ast.rbs', line 296
def self.new: (?items: Array[item], ?action: InlineAction?, ?precedence: String?, ?node_annotation: NodeAnnotation?, ?loc: Location) -> instance
| ({ ?items: Array[item], ?action: InlineAction?, ?precedence: String?, ?node_annotation: NodeAnnotation?, ?loc: Location }) -> instance
|