Class: Walrus::Grammar::AssignmentExpression

Inherits:
RubyExpression
  • Object
show all
Defined in:
lib/walrus/grammar/assignment_expression.rb

Instance Method Summary collapse

Instance Method Details

#compile(options = {}) ⇒ Object



28
29
30
# File 'lib/walrus/grammar/assignment_expression.rb', line 28

def compile options = {}
  @lvalue.source_text + '=' + @expression.source_text
end