Class: Walrus::Grammar::AssignmentExpression
- Inherits:
-
RubyExpression
- Object
- Walrat::Node
- RubyExpression
- Walrus::Grammar::AssignmentExpression
- 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 = {} @lvalue.source_text + '=' + @expression.source_text end |