Classes | |
| struct | ScopeSetter |
| Functor setting the scope of a sage node to a specified (at Functor construction time) scope. More... | |
| struct | VarRefBuilder |
| Functor building a variable reference from an initialized name. More... | |
| struct | InitNameCloner |
| Functor copying an initialized name into a different scope. More... | |
| struct | SageInserter |
| Generic inserter for sage containers SageSequenceContainer, a sage container that supports appending an element. More... | |
Functions | |
| template<class SageNode> | |
| static SageNode * | cloneNode (const SageNode *n) |
| returns a deep copy of a sage node | |
| static void | _append (SgExprListExp &container, SgExpression *elem) |
| unified interface for storing an element in a sage container | |
| static void | _append (SgFunctionParameterList &container, SgInitializedName *elem) |
| template<class SageSequenceContainer> | |
| SageInserter< SageSequenceContainer > | sage_inserter (SageSequenceContainer &cont) |
| generates a SageInserter, adding elements at the end of a sequence SageSequenceContainer, a sage container that supports appending an element | |
| static SageNode* sg::cloneNode | ( | const SageNode * | n | ) | [inline, static] |
returns a deep copy of a sage node
allows NULL input nodes (in contrast to SageInterface::deepCopy)
Definition at line 21 of file sageFunctors.h.
References SageInterface::deepCopy().
Referenced by sg::InitNameCloner::operator()().
| static void sg::_append | ( | SgExprListExp & | container, | |
| SgExpression * | elem | |||
| ) | [inline, static] |
unified interface for storing an element in a sage container
Definition at line 31 of file sageFunctors.h.
References SageInterface::appendExpression().
Referenced by sg::SageInserter< SageSequenceContainer >::operator=().
| static void sg::_append | ( | SgFunctionParameterList & | container, | |
| SgInitializedName * | elem | |||
| ) | [inline, static] |
| SageInserter<SageSequenceContainer> sg::sage_inserter | ( | SageSequenceContainer & | cont | ) |
generates a SageInserter, adding elements at the end of a sequence SageSequenceContainer, a sage container that supports appending an element
Definition at line 137 of file sageFunctors.h.
1.4.7