Puma Reference Manual Puma: Puma::PreCondSemNode Class Reference



Puma::PreCondSemNode Class Reference

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreCondSemNode:

Inheritance graph

List of all members.


Detailed Description

Preprocessor semantic tree node for conditions.


Public Member Functions

 PreCondSemNode (bool value)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.
bool value () const
 Get the calculated value of the condition.


Constructor & Destructor Documentation

Puma::PreCondSemNode::PreCondSemNode ( bool  value  )  [inline]

Constructor.

Parameters:
value The calculated value of the condition.


Member Function Documentation

void Puma::PreCondSemNode::accept ( PreVisitor v  )  [inline, virtual]

Part of the tree visitor pattern.

Calls the node visiting functions suitable for this node type.

Parameters:
v The visitor object on which to call the visiting functions.

Implements Puma::PreTree.

bool Puma::PreCondSemNode::value (  )  const [inline]

Get the calculated value of the condition.




Puma Reference Manual. Created on 5 Nov 2008.