stx::Grammar::PNVariable Class Reference

Parse tree node representing a variable place-holder. More...

Inheritance diagram for stx::Grammar::PNVariable:

stx::ParseNode List of all members.

Public Member Functions

 PNVariable (std::string _varname)
 Constructor from the string received from the parser.
virtual AnyScalar evaluate (const class SymbolTable &st) const
 Check the given symbol table for the actual value of this variable.
virtual bool evaluate_const (AnyScalar *) const
 Returns false, because value isn't constant.
virtual std::string toString () const
 Nothing but the variable name.

Private Attributes

std::string varname
 String name of the variable.

Detailed Description

Parse tree node representing a variable place-holder.

It is filled when parameterized by a symbol table.

Definition at line 368 of file ExpressionParser.cc.


The documentation for this class was generated from the following file:
Generated on Tue Jul 17 16:51:58 2007 for STX Expression Parser by  doxygen 1.5.2