17 #ifndef __OMNETPP_NEDXML_NEDPARSER_H 18 #define __OMNETPP_NEDXML_NEDPARSER_H 31 #define TYPE_NUMERIC 'N' 32 #define TYPE_CONST_NUM 'C' 33 #define TYPE_STRING 'S' 36 #define TYPE_ANYTYPE 'A' 54 bool loadFile(
const char *osfname,
const char *fname);
55 bool loadText(
const char *nedtext,
const char *fname);
73 static const char *getBuiltInDeclarations();
105 ASTNode *parseNedFile(
const char *osfname,
const char *fname=
nullptr);
113 ASTNode *parseNedText(
const char *nedtext,
const char *fname=
nullptr);
119 ASTNode *parseNedExpression(
const char *nedexpression);
bool storesrc
Definition: yydefs.h:51
#define NEDXML_API
Definition: nedxmldefs.h:31
ParseContext np
Definition: nedparser.h:51
void setParseExpressions(bool b)
Definition: nedparser.h:80
bool getParseExpressionsFlag()
Definition: nedparser.h:92
void setStoreSource(bool b)
Definition: nedparser.h:87
bool parseexpr
Definition: yydefs.h:49
Parses NED files into an AST.
Definition: nedparser.h:48
bool getStoreSourceFlag()
Definition: nedparser.h:97
Definition: astbuilder.h:25
Definition: errorstore.h:37