PUMA Library Reference Manual
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from Puma::ListElement
 ListElement ()
 Constructor.
 
virtual ~ListElement ()
 Destructor.
 
Listbelonging_to () const
 Get the list this element belongs to.
 

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 Symbol Documentation

◆ RuleTable

friend class RuleTable
friend