Class: ShuntingYard::Operator
- Inherits:
-
Struct
- Object
- Struct
- ShuntingYard::Operator
- Defined in:
- lib/shunting_yard/structs.rb
Instance Attribute Summary collapse
-
#associativity ⇒ Object
Returns the value of attribute associativity.
-
#evaluator ⇒ Object
Returns the value of attribute evaluator.
-
#precedence ⇒ Object
Returns the value of attribute precedence.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#associativity ⇒ Object
Returns the value of attribute associativity
8 9 10 |
# File 'lib/shunting_yard/structs.rb', line 8 def associativity @associativity end |
#evaluator ⇒ Object
Returns the value of attribute evaluator
8 9 10 |
# File 'lib/shunting_yard/structs.rb', line 8 def evaluator @evaluator end |
#precedence ⇒ Object
Returns the value of attribute precedence
8 9 10 |
# File 'lib/shunting_yard/structs.rb', line 8 def precedence @precedence end |
#value ⇒ Object
Returns the value of attribute value
8 9 10 |
# File 'lib/shunting_yard/structs.rb', line 8 def value @value end |