Class: Code::Node::Operation::Operator
- Inherits:
-
Code::Node
- Object
- Code::Node
- Code::Node::Operation::Operator
- Defined in:
- lib/code/node/operation.rb
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#statement ⇒ Object
readonly
Returns the value of attribute statement.
Instance Method Summary collapse
-
#initialize(parsed) ⇒ Operator
constructor
A new instance of Operator.
Methods inherited from Code::Node
Constructor Details
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
5 6 7 |
# File 'lib/code/node/operation.rb', line 5 def operator @operator end |
#statement ⇒ Object (readonly)
Returns the value of attribute statement.
5 6 7 |
# File 'lib/code/node/operation.rb', line 5 def statement @statement end |