PUMA Library Reference Manual
Puma::Rule Class Reference

#include <Rule.h>

+ Inheritance diagram for Puma::Rule:

Public Member Functions

 Rule (Token *o, Token *n)
 
virtual ~Rule ()
 
ListElementduplicate ()
 Duplicate this list element. More...
 
- Public Member Functions inherited from Puma::ListElement
 ListElement ()
 Constructor. More...
 
virtual ~ListElement ()
 Destructor. More...
 
Listbelonging_to () const
 Get the list this element belongs to. More...
 

Friends

class RuleTable
 

Constructor & Destructor Documentation

◆ Rule()

Puma::Rule::Rule ( Token o,
Token n 
)
inline

◆ ~Rule()

virtual Puma::Rule::~Rule ( )
inlinevirtual

Member Function Documentation

◆ duplicate()

ListElement* Puma::Rule::duplicate ( )
inlinevirtual

Duplicate this list element.

To be implemented by concrete list element implementations.

Returns
A pointer to the new list element.

Implements Puma::ListElement.

Friends And Related Function Documentation

◆ RuleTable

friend class RuleTable
friend