Class: Ibex::Frontend::AST::Optional
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Optional
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#loc ⇒ Object
Returns the value of attribute loc.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item
249 250 251 |
# File 'lib/ibex/frontend/ast.rb', line 249 def item @item end |
#loc ⇒ Object
Returns the value of attribute loc
249 250 251 |
# File 'lib/ibex/frontend/ast.rb', line 249 def loc @loc end |
Class Method Details
.new(item:, loc:) ⇒ instance .new(arg0) ⇒ instance
356 357 |
# File 'sig/ibex/frontend/ast.rbs', line 356
def self.new: (?item: item, ?loc: Location) -> instance
| ({ ?item: item, ?loc: Location }) -> instance
|