Class: Ibex::Frontend::AST::Fragment
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Fragment
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#declarations ⇒ Object
Returns the value of attribute declarations.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#rules ⇒ Object
Returns the value of attribute rules.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#declarations ⇒ Object
Returns the value of attribute declarations
83 84 85 |
# File 'lib/ibex/frontend/ast.rb', line 83 def declarations @declarations end |
#loc ⇒ Object
Returns the value of attribute loc
83 84 85 |
# File 'lib/ibex/frontend/ast.rb', line 83 def loc @loc end |
#rules ⇒ Object
Returns the value of attribute rules
83 84 85 |
# File 'lib/ibex/frontend/ast.rb', line 83 def rules @rules end |
Class Method Details
.new(declarations:, rules:, loc:) ⇒ instance .new(arg0) ⇒ instance
73 74 |
# File 'sig/ibex/frontend/ast.rbs', line 73
def self.new: (?declarations: Array[declaration], ?rules: Array[Rule], ?loc: Location) -> instance
| ({ ?declarations: Array[declaration], ?rules: Array[Rule], ?loc: Location }) -> instance
|