|
| ASTList () |
| the default constructor.
|
|
| ASTList (const ASTList< T > &src) |
| duplicates the objects of the given list. More...
|
|
const container & | objects () const |
| returns the container of objects. More...
|
|
size_t | size () |
|
bool | empty () const |
|
container::iterator | begin () |
|
container::iterator | end () |
|
container::reverse_iterator | rbegin () |
|
container::reverse_iterator | rend () |
|
container::const_iterator | begin () const |
|
container::const_iterator | end () const |
|
container::const_reverse_iterator | rbegin () const |
|
container::const_reverse_iterator | rend () const |
|
virtual void | construct (const InputRange &r, ASTStack &st) |
| Pops objects of type T from the stack (st ) until no more objects can be popped.
|
|
| ASTMember () |
| On construction, ASTMember sets its container_node field to the ASTContainer currently under construction and registers itself with the container, to be notified during the construction phase.
|
|
ASTContainer * | container () const |
| Returns the container of which this object is a field.
|
|
template<class T>
class pegmatite::ASTList< T >
A list of objects.
It pops objects of the given type from the ast stack, until no more objects can be popped. It assumes ownership of objects.
- Template Parameters
-
T | type of object to control. |