Functions | |
ASTNode * | createNedElementWithTag (ParseContext *np, int tagcode, ASTNode *parent=nullptr) |
ASTNode * | getOrCreateNedElementWithTag (ParseContext *np, int tagcode, ASTNode *parent) |
PropertyElement * | addProperty (ParseContext *np, ASTNode *node, const char *name) |
PropertyElement * | addComponentProperty (ParseContext *np, ASTNode *node, const char *name) |
PropertyElement * | storeSourceCode (ParseContext *np, ASTNode *node, YYLoc tokenpos) |
PropertyElement * | storeComponentSourceCode (ParseContext *np, ASTNode *node, YYLoc tokenpos) |
PropertyElement * | setIsNetworkProperty (ParseContext *np, ASTNode *node) |
void | addComment (ParseContext *np, ASTNode *node, const char *locId, const char *comment, const char *defaultValue) |
void | storeFileComment (ParseContext *np, ASTNode *node) |
void | storeBannerComment (ParseContext *np, ASTNode *node, YYLoc tokenpos) |
void | storeRightComment (ParseContext *np, ASTNode *node, YYLoc tokenpos) |
void | storeTrailingComment (ParseContext *np, ASTNode *node, YYLoc tokenpos) |
void | storeBannerAndRightComments (ParseContext *np, ASTNode *node, YYLoc pos) |
void | storeBannerAndRightComments (ParseContext *np, ASTNode *node, YYLoc firstpos, YYLoc lastpos) |
void | storeInnerComments (ParseContext *np, ASTNode *node, YYLoc pos) |
ParamElement * | addParameter (ParseContext *np, ASTNode *params, YYLoc namepos) |
ParamElement * | addParameter (ParseContext *np, ASTNode *params, const char *name, YYLoc namepos) |
GateElement * | addGate (ParseContext *np, ASTNode *gates, YYLoc namepos) |
void | swapConnection (ASTNode *conn) |
LiteralElement * | createPropertyValue (ParseContext *np, YYLoc textpos) |
LiteralElement * | createLiteral (ParseContext *np, int type, YYLoc valuepos, YYLoc textpos) |
LiteralElement * | createLiteral (ParseContext *np, int type, const char *value, const char *text) |
LiteralElement * | createStringLiteral (ParseContext *np, YYLoc textpos) |
LiteralElement * | createQuantityLiteral (ParseContext *np, YYLoc textpos) |
ASTNode * | prependMinusSign (ParseContext *np, ASTNode *node) |
void | addOptionalExpression (ParseContext *np, ASTNode *elem, const char *attrname, YYLoc exprpos, ASTNode *expr) |
void | addExpression (ParseContext *np, ASTNode *elem, const char *attrname, YYLoc exprpos, ASTNode *expr) |
ASTNode* omnetpp::nedxml::nedyyutil::createNedElementWithTag | ( | ParseContext * | np, |
int | tagcode, | ||
ASTNode * | parent = nullptr |
||
) |
ASTNode* omnetpp::nedxml::nedyyutil::getOrCreateNedElementWithTag | ( | ParseContext * | np, |
int | tagcode, | ||
ASTNode * | parent | ||
) |
PropertyElement* omnetpp::nedxml::nedyyutil::addProperty | ( | ParseContext * | np, |
ASTNode * | node, | ||
const char * | name | ||
) |
PropertyElement* omnetpp::nedxml::nedyyutil::addComponentProperty | ( | ParseContext * | np, |
ASTNode * | node, | ||
const char * | name | ||
) |
PropertyElement* omnetpp::nedxml::nedyyutil::storeSourceCode | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | tokenpos | ||
) |
PropertyElement* omnetpp::nedxml::nedyyutil::storeComponentSourceCode | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | tokenpos | ||
) |
PropertyElement* omnetpp::nedxml::nedyyutil::setIsNetworkProperty | ( | ParseContext * | np, |
ASTNode * | node | ||
) |
void omnetpp::nedxml::nedyyutil::addComment | ( | ParseContext * | np, |
ASTNode * | node, | ||
const char * | locId, | ||
const char * | comment, | ||
const char * | defaultValue | ||
) |
void omnetpp::nedxml::nedyyutil::storeFileComment | ( | ParseContext * | np, |
ASTNode * | node | ||
) |
void omnetpp::nedxml::nedyyutil::storeBannerComment | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | tokenpos | ||
) |
void omnetpp::nedxml::nedyyutil::storeRightComment | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | tokenpos | ||
) |
void omnetpp::nedxml::nedyyutil::storeTrailingComment | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | tokenpos | ||
) |
void omnetpp::nedxml::nedyyutil::storeBannerAndRightComments | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | pos | ||
) |
void omnetpp::nedxml::nedyyutil::storeBannerAndRightComments | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | firstpos, | ||
YYLoc | lastpos | ||
) |
void omnetpp::nedxml::nedyyutil::storeInnerComments | ( | ParseContext * | np, |
ASTNode * | node, | ||
YYLoc | pos | ||
) |
ParamElement* omnetpp::nedxml::nedyyutil::addParameter | ( | ParseContext * | np, |
ASTNode * | params, | ||
YYLoc | namepos | ||
) |
ParamElement* omnetpp::nedxml::nedyyutil::addParameter | ( | ParseContext * | np, |
ASTNode * | params, | ||
const char * | name, | ||
YYLoc | namepos | ||
) |
GateElement* omnetpp::nedxml::nedyyutil::addGate | ( | ParseContext * | np, |
ASTNode * | gates, | ||
YYLoc | namepos | ||
) |
void omnetpp::nedxml::nedyyutil::swapConnection | ( | ASTNode * | conn | ) |
LiteralElement* omnetpp::nedxml::nedyyutil::createPropertyValue | ( | ParseContext * | np, |
YYLoc | textpos | ||
) |
LiteralElement* omnetpp::nedxml::nedyyutil::createLiteral | ( | ParseContext * | np, |
int | type, | ||
YYLoc | valuepos, | ||
YYLoc | textpos | ||
) |
LiteralElement* omnetpp::nedxml::nedyyutil::createLiteral | ( | ParseContext * | np, |
int | type, | ||
const char * | value, | ||
const char * | text | ||
) |
LiteralElement* omnetpp::nedxml::nedyyutil::createStringLiteral | ( | ParseContext * | np, |
YYLoc | textpos | ||
) |
LiteralElement* omnetpp::nedxml::nedyyutil::createQuantityLiteral | ( | ParseContext * | np, |
YYLoc | textpos | ||
) |
ASTNode* omnetpp::nedxml::nedyyutil::prependMinusSign | ( | ParseContext * | np, |
ASTNode * | node | ||
) |
void omnetpp::nedxml::nedyyutil::addOptionalExpression | ( | ParseContext * | np, |
ASTNode * | elem, | ||
const char * | attrname, | ||
YYLoc | exprpos, | ||
ASTNode * | expr | ||
) |
void omnetpp::nedxml::nedyyutil::addExpression | ( | ParseContext * | np, |
ASTNode * | elem, | ||
const char * | attrname, | ||
YYLoc | exprpos, | ||
ASTNode * | expr | ||
) |