Class: Walrus::Grammar::Literal
- Inherits:
-
Walrat::Node
- Object
- Walrat::Node
- Walrus::Grammar::Literal
- 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 = {} @lexeme.source_text end |