Puma Reference Manual Puma: Puma::PreCondSemNode Class Reference



Puma::PreCondSemNode Class Reference

Preprocessor semantic tree node for conditions. More...

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreCondSemNode:
Inheritance graph

List of all members.

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.

Detailed Description

Preprocessor semantic tree node for conditions.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
valueThe 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:
vThe 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.