Class: StarlarkCompiler::AST::PlusOperator

Inherits:
BinaryOperator show all
Defined in:
lib/starlark_compiler/ast.rb

Constant Summary

Constants inherited from Node

Node::TYPE

Instance Attribute Summary

Attributes inherited from BinaryOperator

#lhs, #operator, #rhs

Instance Method Summary collapse

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