| Class | Farts::Interpreter |
| In: |
lib/farts/farts_parser.rb
|
| Parent: | Object |
The Interpreter class is an instance of a machine to execute a program
| hitbreak | [RW] | |
| retval | [RW] | |
| vars | [RW] |
Construct an interpreter machine
Currently we support 'actor' and 'this', where they are the first two parameters of an event respectively.
# File lib/farts/farts_parser.rb, line 808 def initialize(vars) @vars = vars # hash table of attribute_name/value pairs @hitbreak = false @retval = true @lib = Lib.new end