Class: Walrus::Grammar::Literal

Inherits:
Walrat::Node
  • Object
show all
Defined in:
lib/walrus/grammar/literal.rb

Instance Method Summary collapse

Instance Method Details

#compile(options = {}) ⇒ Object



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

def compile options = {}
  @lexeme.source_text
end