![]() |
PUMA Library Reference Manual
|
#include <Puma/CParser.h>
C parser abstraction. Setups the C parser components ready to be used for parsing C input files (see class Puma::CSyntax, Puma::CBuilder, and Puma::CSemantic).
Public Member Functions | |
CParser () | |
Constructor. More... | |
CSyntax & | syntax () const |
Get the C syntactic analysis object. More... | |
CBuilder & | builder () const |
Get the C tree builder object. More... | |
CSemantic & | semantic () const |
Get the C semantic analysis object. More... | |
![]() | |
Parser (Syntax &x, Builder &b, Semantic &s) | |
Constructor. More... | |
CTranslationUnit * | parse (Unit &file, CProject &p, int pre_mode=0, std::ostream &os=std::cout) |
Parse the given input file. More... | |
void | configure (Config &c) |
Configure the parser components. More... | |
|
inline |
Constructor.
|
inline |
Get the C tree builder object.
|
inline |
Get the C semantic analysis object.
|
inline |
Get the C syntactic analysis object.