Method: Heist::Scheme::QuotedCell#eval
- Defined in:
- lib/parser/nodes.rb
#eval ⇒ Object
Evaluating a QuotedCell
produces a Cons
that expresses a function call to the appropriate quoting function, with the cell as the argument.
73 74 75 76 77 |
# File 'lib/parser/nodes.rb', line 73 def eval quote = elements[1].text_value cell = elements[2].eval Runtime::Cons.construct([Runtime::Identifier.new(SHORTHANDS[quote]), cell]) end |