Generates NED code from a NED AST.
Assumes that the object tree has already passed all validation stages (DTD, syntax, semantic).
|
|
const char * | increaseIndent (const char *indent) |
|
const char * | decreaseIndent (const char *indent) |
|
void | generateNedItem (ASTNode *node, const char *indent, bool islast, const char *arg=nullptr) |
|
void | generateChildren (ASTNode *node, const char *indent, const char *arg=nullptr) |
|
void | generateChildrenWithType (ASTNode *node, int tagcode, const char *indent, const char *arg=nullptr) |
|
void | generateChildrenWithTypes (ASTNode *node, int tagcodes[], const char *indent, const char *arg=nullptr) |
|
|
void | printInheritance (ASTNode *node, const char *indent) |
|
bool | hasExpression (ASTNode *node, const char *attr) |
|
void | printExpression (ASTNode *node, const char *attr, const char *indent) |
|
void | printOptVector (ASTNode *node, const char *attr, const char *indent) |
|
void | doMsgClassOrStructBody (ASTNode *msgclassorstruct, const char *indent) |
|
|
std::string | concatInnerComments (ASTNode *node) |
|
std::string | getBannerComment (ASTNode *node, const char *indent) |
|
std::string | getRightComment (ASTNode *node) |
|
std::string | getInlineRightComment (ASTNode *node) |
|
std::string | getTrailingComment (ASTNode *node) |
|
|
void | doFiles (FilesElement *node, const char *indent, bool islast, const char *) |
|
void | doNedFile (NedFileElement *node, const char *indent, bool islast, const char *) |
|
void | doPackage (PackageElement *node, const char *indent, bool islast, const char *) |
|
void | doImport (ImportElement *node, const char *indent, bool islast, const char *) |
|
void | doPropertyDecl (PropertyDeclElement *node, const char *indent, bool islast, const char *) |
|
void | doExtends (ExtendsElement *node, const char *indent, bool islast, const char *) |
|
void | doInterfaceName (InterfaceNameElement *node, const char *indent, bool islast, const char *) |
|
void | doSimpleModule (SimpleModuleElement *node, const char *indent, bool islast, const char *) |
|
void | doModuleInterface (ModuleInterfaceElement *node, const char *indent, bool islast, const char *) |
|
void | doCompoundModule (CompoundModuleElement *node, const char *indent, bool islast, const char *) |
|
void | doChannelInterface (ChannelInterfaceElement *node, const char *indent, bool islast, const char *) |
|
void | doChannel (ChannelElement *node, const char *indent, bool islast, const char *) |
|
void | doParameters (ParametersElement *node, const char *indent, bool islast, const char *) |
|
void | doParam (ParamElement *node, const char *indent, bool islast, const char *) |
|
void | doProperty (PropertyElement *node, const char *indent, bool islast, const char *) |
|
void | doPropertyKey (PropertyKeyElement *node, const char *indent, bool islast, const char *) |
|
void | doGates (GatesElement *node, const char *indent, bool islast, const char *) |
|
void | doGate (GateElement *node, const char *indent, bool islast, const char *) |
|
void | doTypes (TypesElement *node, const char *indent, bool islast, const char *) |
|
void | doSubmodules (SubmodulesElement *node, const char *indent, bool islast, const char *) |
|
void | doSubmodule (SubmoduleElement *node, const char *indent, bool islast, const char *) |
|
void | doConnections (ConnectionsElement *node, const char *indent, bool islast, const char *) |
|
void | doConnection (ConnectionElement *node, const char *indent, bool islast, const char *) |
|
void | doConnectionGroup (ConnectionGroupElement *node, const char *indent, bool islast, const char *) |
|
void | doLoop (LoopElement *node, const char *indent, bool islast, const char *) |
|
void | doCondition (ConditionElement *node, const char *indent, bool islast, const char *) |
|
void | printConnectionGate (ASTNode *conn, const char *modname, const char *modindexattr, const char *gatename, const char *gateindexattr, bool isplusplus, int gatesubg, const char *indent) |
|
void | doLiteral (LiteralElement *node, const char *indent, bool islast, const char *) |
|
void | doComment (CommentElement *node, const char *indent, bool islast, const char *) |
|