#include <InstantiationParser.h>
Public Member Functions |
| InstantiationParser () |
void | init (CObjectInfo *obj, CTemplateInfo *tpl, CStructure *instance_scope, CCInstantiation *inst=0) |
CTree * | parse (CTemplateInfo *tpl, CTree *tree, bool(InstantiationSyntax::*rule)(), bool &delayed_parse_node, bool add_tree=true) |
void | resolve (CTemplateInfo *tpl, CStructure *scope, CTree *tree) |
bool | failed () |
InstantiationSyntax & | syntax () const |
InstantiationBuilder & | builder () const |
InstantiationSemantic & | semantic () const |
| Parser (Syntax &x, Builder &b, Semantic &s) |
| Constructor.
|
CTranslationUnit * | parse (Unit &file, CProject &p, int pre_mode=0, std::ostream &os=std::cout) |
| Parse the given input file.
|
void | configure (Config &c) |
| Configure the parser components.
|
Constructor & Destructor Documentation
Puma::InstantiationParser::InstantiationParser |
( |
| ) |
|
|
inline |
Member Function Documentation
bool Puma::InstantiationParser::failed |
( |
| ) |
|
CTree* Puma::InstantiationParser::parse |
( |
CTemplateInfo * |
tpl, |
|
|
CTree * |
tree, |
|
|
bool(InstantiationSyntax::*)() |
rule, |
|
|
bool & |
delayed_parse_node, |
|
|
bool |
add_tree = true |
|
) |
| |