public interface TreeWalker
| Modifier and Type | Method and Description |
|---|---|
void |
beginBitmask(BitmaskType bitmaskType)
Called when BitmaskType AST node begins.
|
void |
beginChoice(ChoiceType choiceType)
Called when ChoiceType AST node begins.
|
void |
beginConst(Constant constant)
Called when Constant AST node begins.
|
void |
beginEnumeration(EnumType enumType)
Called when EnumType AST node begins.
|
void |
beginImport(Import importNode)
Called when Import AST node begins.
|
void |
beginInstantiateType(InstantiateType instantiateType)
Called when InstantiateType AST node begins.
|
void |
beginPackage(Package pkg)
Called when Package AST node begins.
|
void |
beginPubsub(PubsubType pubsub)
Called when PubsubType AST node begins.
|
void |
beginRoot(Root root)
Called when Root AST node begins.
|
void |
beginRuleGroup(RuleGroup ruleGroup)
Called when RuleGroup AST node begins.
|
void |
beginService(ServiceType service)
Called when ServiceType AST node begins.
|
void |
beginSqlDatabase(SqlDatabaseType sqlDatabaseType)
Called when SqlDatabaseType AST node begins.
|
void |
beginSqlTable(SqlTableType sqlTableType)
Called when SqlTableType AST node begins.
|
void |
beginStructure(StructureType structureType)
Called when StructureType AST node begins.
|
void |
beginSubtype(Subtype subType)
Called when Subtype AST node begins.
|
void |
beginUnion(UnionType unionType)
Called when UnionType AST node begins.
|
void |
endPackage(Package pkg)
Called when Package node ends.
|
void |
endRoot(Root root)
Called when Root AST node ends.
|
boolean |
traverseTemplateInstantiations()
Returns whether to traverse template instantiations or just call appropriate TreeWalker's methods
directly for templates.
|
boolean traverseTemplateInstantiations()
void beginRoot(Root root) throws ZserioExtensionException
root - Current Root AST node.ZserioExtensionException - In case of any internal error of the extension.void endRoot(Root root) throws ZserioExtensionException
root - Current Root AST node.ZserioExtensionException - In case of any internal error of the extension.void beginPackage(Package pkg) throws ZserioExtensionException
pkg - Current Package AST node.ZserioExtensionException - In case of any internal error of the extension.void endPackage(Package pkg) throws ZserioExtensionException
pkg - Current Package AST node.ZserioExtensionException - In case of any internal error of the extension.void beginImport(Import importNode) throws ZserioExtensionException
importNode - Current Import AST node.ZserioExtensionException - In case of any internal error of the extension.void beginConst(Constant constant) throws ZserioExtensionException
constant - Current Constant AST node.ZserioExtensionException - In case of any internal error of the extension.void beginRuleGroup(RuleGroup ruleGroup) throws ZserioExtensionException
ruleGroup - Current RuleGroup AST node.ZserioExtensionException - In case of any internal error of the extension.void beginSubtype(Subtype subType) throws ZserioExtensionException
subType - Current Subtype AST node.ZserioExtensionException - In case of any internal error of the extension.void beginStructure(StructureType structureType) throws ZserioExtensionException
structureType - Current StructureType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginChoice(ChoiceType choiceType) throws ZserioExtensionException
choiceType - Current ChoiceType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginUnion(UnionType unionType) throws ZserioExtensionException
unionType - Current UnionType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginEnumeration(EnumType enumType) throws ZserioExtensionException
enumType - Current EnumType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginBitmask(BitmaskType bitmaskType) throws ZserioExtensionException
bitmaskType - Current BitmaskType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginSqlTable(SqlTableType sqlTableType) throws ZserioExtensionException
sqlTableType - Current SqlTableType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginSqlDatabase(SqlDatabaseType sqlDatabaseType) throws ZserioExtensionException
sqlDatabaseType - Current SqlDatabaseType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginService(ServiceType service) throws ZserioExtensionException
service - Current ServiceType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginPubsub(PubsubType pubsub) throws ZserioExtensionException
pubsub - Current PubsubType AST node.ZserioExtensionException - In case of any internal error of the extension.void beginInstantiateType(InstantiateType instantiateType) throws ZserioExtensionException
instantiateType - Current InstantiateType node.ZserioExtensionException - In case of any internal error of the extension.Last updated 2024-07-18 11:31:32