Puma Reference Manual Puma: Puma::PreTokenList Class Reference



Puma::PreTokenList Class Reference

Preprocessor tree node representing the token list of a macro body. More...

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreTokenList:
Inheritance graph

List of all members.

Public Member Functions

 PreTokenList ()
 Constructor.
 PreTokenList (PreTree *tl, PreTree *nl)
 Constructor.
 PreTokenList (PreTree *tl)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Detailed Description

Preprocessor tree node representing the token list of a macro body.


Constructor & Destructor Documentation

Puma::PreTokenList::PreTokenList ( ) [inline]

Constructor.

Puma::PreTokenList::PreTokenList ( PreTree tl,
PreTree nl 
) [inline]

Constructor.

Parameters:
tlThe token list.
nlThe newline token.
Puma::PreTokenList::PreTokenList ( PreTree tl) [inline]

Constructor.

Parameters:
tlThe token list.

Member Function Documentation

void Puma::PreTokenList::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::PreTreeComposite.