Class: Walrus::Grammar::EscapeSequence

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

Instance Method Summary collapse

Instance Method Details

#compile(options = {}) ⇒ Object



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

def compile options = {}
  "accumulate(%s) \# EscapeSequence\n" % @lexeme.to_s.dump
end