Class: Ibex::Frontend::AST::Precedence
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Precedence
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#levels ⇒ Object
Returns the value of attribute levels.
-
#loc ⇒ Object
Returns the value of attribute loc.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#direction ⇒ Object
Returns the value of attribute direction
100 101 102 |
# File 'lib/ibex/frontend/ast.rb', line 100 def direction @direction end |
#levels ⇒ Object
Returns the value of attribute levels
100 101 102 |
# File 'lib/ibex/frontend/ast.rb', line 100 def levels @levels end |
#loc ⇒ Object
Returns the value of attribute loc
100 101 102 |
# File 'lib/ibex/frontend/ast.rb', line 100 def loc @loc end |
Class Method Details
.new(direction:, levels:, loc:) ⇒ instance .new(arg0) ⇒ instance
104 105 |
# File 'sig/ibex/frontend/ast.rbs', line 104
def self.new: (?direction: Symbol, ?levels: Array[PrecedenceLevel], ?loc: Location) -> instance
| ({ ?direction: Symbol, ?levels: Array[PrecedenceLevel], ?loc: Location }) -> instance
|