Class: StarlarkCompiler::AST::PlusOperator
- Inherits:
-
BinaryOperator
- Object
- Node
- BinaryOperator
- StarlarkCompiler::AST::PlusOperator
- Defined in:
- lib/starlark_compiler/ast.rb
Constant Summary
Constants inherited from Node
Instance Attribute Summary
Attributes inherited from BinaryOperator
Instance Method Summary collapse
-
#initialize(lhs, rhs) ⇒ PlusOperator
constructor
A new instance of PlusOperator.
Constructor Details
#initialize(lhs, rhs) ⇒ PlusOperator
Returns a new instance of PlusOperator.
176 177 178 |
# File 'lib/starlark_compiler/ast.rb', line 176 def initialize(lhs, rhs) super(lhs, rhs, operator: '+') end |