17#ifndef __OMNETPP_NEDXML_YYDEFS_H
18#define __OMNETPP_NEDXML_YYDEFS_H
20#include "nedxmldefs.h"
27#error 'YYLTYPE defined before yydefs.h -- type clash?'
39 int first_line, first_column;
40 int last_line, last_column;
44#define YYLTYPE omnetpp::nedxml::YYLoc
45#define YYSTYPE omnetpp::nedxml::ASTNode*
49 bool storesrc =
false;
50 const char *filename =
nullptr;
51 ErrorStore *errors =
nullptr;
52 SourceDocument *source =
nullptr;
54 bool getStoreSourceFlag() {
return storesrc;}
55 const char *getFileName() {
return filename;}
56 ErrorStore *getErrors() {
return errors;}
57 SourceDocument *getSource() {
return source;}
58 void error(
const char *msg,
int line);
Definition errorstore.h:38
Stores the full text of a NED/MSG file.
Definition sourcedocument.h:38