|
OMNeT++ NEDXML 6.1
Discrete Event Simulation Library
|
|
Go to the documentation of this file.
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();
93 ASTNode *parseNedFile(
const char *osfname,
const char *fname=
nullptr);
101 ASTNode *parseNedText(
const char *nedtext,
const char *fname=
nullptr);
107 bool isValidNedExpression(
const char *expr);
bool storesrc
Definition: yydefs.h:49
void setStoreSource(bool b)
Definition: nedparser.h:80
#define NEDXML_API
Definition: nedxmldefs.h:31
Definition: astbuilder.h:25
ParseContext np
Definition: nedparser.h:51
Parses NED files into an AST.
Definition: nedparser.h:48
Definition: errorstore.h:37
bool getStoreSourceFlag()
Definition: nedparser.h:85