Evaluator Class Reference

Provides functions to evaluate program nodes. More...

#include <evaluator.h>

List of all members.

Public Member Functions

 Evaluator ()
 Evaluator (Scope &scope)
 Evaluator (const Module &module)
 Evaluator (Scope &scope, const Module &module)
Variable rightValue (const Program &program, int modifiable=false) const
 Evaluate a right value tagged program node.
VariablePath variablePath (const Program &program) const
 Get the variable path of a variable tagged program node.
ObjectType type (const Program &program) const
 Evaluate a type tagged program node.

Detailed Description

Provides functions to evaluate program nodes.


Constructor & Destructor Documentation

Evaluator::Evaluator ( const Module module)
Evaluator::Evaluator ( Scope scope,
const Module module 
)

Member Function Documentation

Variable Evaluator::rightValue ( const Program program,
int  modifiable = false 
) const

Evaluate a right value tagged program node.

ObjectType Evaluator::type ( const Program program) const

Evaluate a type tagged program node.

VariablePath Evaluator::variablePath ( const Program program) const

Get the variable path of a variable tagged program node.


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