OMNeT++ NEDXML  6.0.3
omnetpp::nedxml::msgyyutil Namespace Reference

Functions

ASTNodecreateMsgElementWithTag (ParseContext *np, int tagcode, ASTNode *parent=nullptr)
 
ASTNodegetOrCreateMsgElementWithTag (ParseContext *np, int tagcode, ASTNode *parent)
 
PropertyElement * addProperty (ParseContext *np, ASTNode *node, const char *name)
 
PropertyElement * storeSourceCode (ParseContext *np, ASTNode *node, YYLoc tokenpos)
 
LiteralElement * createPropertyValue (ParseContext *np, YYLoc textpos)
 
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)
 

Function Documentation

◆ createMsgElementWithTag()

ASTNode* omnetpp::nedxml::msgyyutil::createMsgElementWithTag ( ParseContext np,
int  tagcode,
ASTNode parent = nullptr 
)

◆ getOrCreateMsgElementWithTag()

ASTNode* omnetpp::nedxml::msgyyutil::getOrCreateMsgElementWithTag ( ParseContext np,
int  tagcode,
ASTNode parent 
)

◆ addProperty()

PropertyElement* omnetpp::nedxml::msgyyutil::addProperty ( ParseContext np,
ASTNode node,
const char *  name 
)

◆ storeSourceCode()

PropertyElement* omnetpp::nedxml::msgyyutil::storeSourceCode ( ParseContext np,
ASTNode node,
YYLoc  tokenpos 
)

◆ createPropertyValue()

LiteralElement* omnetpp::nedxml::msgyyutil::createPropertyValue ( ParseContext np,
YYLoc  textpos 
)

◆ addComment()

void omnetpp::nedxml::msgyyutil::addComment ( ParseContext np,
ASTNode node,
const char *  locId,
const char *  comment,
const char *  defaultValue 
)

◆ storeFileComment()

void omnetpp::nedxml::msgyyutil::storeFileComment ( ParseContext np,
ASTNode node 
)

◆ storeBannerComment()

void omnetpp::nedxml::msgyyutil::storeBannerComment ( ParseContext np,
ASTNode node,
YYLoc  tokenpos 
)

◆ storeRightComment()

void omnetpp::nedxml::msgyyutil::storeRightComment ( ParseContext np,
ASTNode node,
YYLoc  tokenpos 
)

◆ storeTrailingComment()

void omnetpp::nedxml::msgyyutil::storeTrailingComment ( ParseContext np,
ASTNode node,
YYLoc  tokenpos 
)

◆ storeBannerAndRightComments() [1/2]

void omnetpp::nedxml::msgyyutil::storeBannerAndRightComments ( ParseContext np,
ASTNode node,
YYLoc  pos 
)

◆ storeBannerAndRightComments() [2/2]

void omnetpp::nedxml::msgyyutil::storeBannerAndRightComments ( ParseContext np,
ASTNode node,
YYLoc  firstpos,
YYLoc  lastpos 
)

◆ storeInnerComments()

void omnetpp::nedxml::msgyyutil::storeInnerComments ( ParseContext np,
ASTNode node,
YYLoc  pos 
)