|
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) |
|