class VsExpr : public VsStatement

Expression base class:

Inheritance:


Public Methods

virtual VsValue evaluate(VsFunctionCall *)
Evaluates this expression, returning resulting value.
virtual VsStatement::Status1 execute(VsFunctionCall *)
Expressions are also statements, and so must have an execute() method
void ref()
Expressions must be reference counted because variables may be multiply instanced in the parse tree
void unref()
VsExpr()
Constructor, just initializes reference count to zero

Protected Methods

virtual ~VsExpr()

Private Fields

short refCount

Inherited from VsStatement:

Public Classes

enum Status1

Public

enum Status1

Documentation

Expression base class:
VsExpr()
Constructor, just initializes reference count to zero

virtual VsStatement::Status1 execute(VsFunctionCall *)
Expressions are also statements, and so must have an execute() method. The execute() method just calls evaluate() and returns a NORMAL status

virtual VsValue evaluate(VsFunctionCall *)
Evaluates this expression, returning resulting value.

void ref()
Expressions must be reference counted because variables may be multiply instanced in the parse tree

void unref()

virtual ~VsExpr()

short refCount


Direct child classes:
VsVar
VsULogicOp
VsUArithOp
VsMethodCall
VsLogicOp
VsIncDec
VsFunctionCall
VsConstant
VsCondExpr
VsComma
VsAssign
VsArith

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de