libvata2  [unstable] git snapshot
Public Member Functions | List of all members
VirtualMachine Class Reference

The virtual machine executing VATA code. More...

#include <vm.hh>

Public Member Functions

 VirtualMachine ()
 default constructor More...
 
void run (const Vata2::Parser::Parsed &parsed)
 
void run (const Vata2::Parser::ParsedSection &parsec)
 
void run_code (const Vata2::Parser::ParsedSection &parsec)
 
void execute_line (const Parser::BodyLine &line)
 Executes one line of code. More...
 
void process_token (const std::string &tok)
 
void exec_cmd (const std::vector< VMValue > &exec_vec)
 
void clean_stack ()
 Cleans the stack. More...
 

Detailed Description

The virtual machine executing VATA code.

Definition at line 91 of file vm.hh.

Constructor & Destructor Documentation

VirtualMachine ( )
inline

default constructor

Definition at line 102 of file vm.hh.

Member Function Documentation

void clean_stack ( )

Cleans the stack.

void exec_cmd ( const std::vector< VMValue > &  exec_vec)
void execute_line ( const Parser::BodyLine line)

Executes one line of code.

void process_token ( const std::string &  tok)
void run ( const Vata2::Parser::Parsed parsed)
void run ( const Vata2::Parser::ParsedSection parsec)
void run_code ( const Vata2::Parser::ParsedSection parsec)

The documentation for this class was generated from the following file: