class Omnium::Parser::AST::Assignment
This is an assignment statement, for example 'x := 5' or 'y := x'. @left is a reference to the variable node and @right is a reference to the node returned by Parser::Core#expr
Attributes
left[R]
operator[R]
right[R]
Public Class Methods
new(left, operator, right)
click to toggle source
# File lib/omnium/parser/ast/assignment.rb, line 12 def initialize(left, operator, right) @left = left @operator = operator @right = right end