Class: Walrus::Grammar::MessageExpression

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

Instance Method Summary collapse

Instance Method Details

#compile(options = {}) ⇒ Object



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

def compile options = {}
  # simple case
  @target.source_text + '.' + @message.source_text
end