Class DesignBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
DesignVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
DesignVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byDesignParser.actionName().Visit a parse tree produced byDesignParser.animateDeclaration().Visit a parse tree produced byDesignParser.animateName().Visit a parse tree produced by thecolumnedLayoutLinelabeled alternative inDesignParser.layoutRow().Visit a parse tree produced by thecolumnedLineBreaklabeled alternative inDesignParser.layoutRow().Visit a parse tree produced byDesignParser.comment().Visit a parse tree produced byDesignParser.commentString().Visit a parse tree produced byDesignParser.componentBodyDeclaration().Visit a parse tree produced byDesignParser.componentDeclaration().Visit a parse tree produced byDesignParser.componentLayoutValue().Visit a parse tree produced byDesignParser.componentName().Visit a parse tree produced byDesignParser.componentText().Visit a parse tree produced byDesignParser.componentUseDeclaration().Visit a parse tree produced byDesignParser.componentValue().Visit a parse tree produced byDesignParser.configDeclaration().Visit a parse tree produced byDesignParser.configKey().Visit a parse tree produced byDesignParser.configValue().Visit a parse tree produced byDesignParser.decalartions().Visit a parse tree produced byDesignParser.doDeclaration().Visit a parse tree produced byDesignParser.flowDeclaration().Visit a parse tree produced by thefullLayoutLinelabeled alternative inDesignParser.layoutRow().Visit a parse tree produced by thefullLineBreaklabeled alternative inDesignParser.layoutRow().Visit a parse tree produced byDesignParser.gotoAction().Visit a parse tree produced byDesignParser.interactionDeclaration().Visit a parse tree produced byDesignParser.keyValue().Visit a parse tree produced byDesignParser.layoutDeclaration().Visit a parse tree produced byDesignParser.layoutLine().Visit a parse tree produced byDesignParser.layoutLines().Visit a parse tree produced byDesignParser.libraryDeclaration().Visit a parse tree produced byDesignParser.libraryName().Visit a parse tree produced byDesignParser.pageDeclaration().Visit a parse tree produced byDesignParser.presetArray().Visit a parse tree produced byDesignParser.presetCall().Visit a parse tree produced byDesignParser.presetKey().Visit a parse tree produced by thepresetKeyArraylabeled alternative inDesignParser.libraryExpress().Visit a parse tree produced by thepresetKeyObjectlabeled alternative inDesignParser.libraryExpress().Visit a parse tree produced by thepresetKeyValuelabeled alternative inDesignParser.libraryExpress().Visit a parse tree produced byDesignParser.presetValue().Visit a parse tree produced byDesignParser.reactAction().Visit a parse tree produced byDesignParser.reactDeclaration().Visit a parse tree produced byDesignParser.sceneName().Visit a parse tree produced byDesignParser.seeDeclaration().Visit a parse tree produced byDesignParser.showAction().Visit a parse tree produced byDesignParser.simpleLayoutDeclaration().Visit a parse tree produced byDesignParser.start().Visit a parse tree produced byDesignParser.styleBody().Visit a parse tree produced byDesignParser.styleDeclaration().Visit a parse tree produced byDesignParser.styleName().Visit a parse tree produced byDesignParser.unit().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
DesignBaseVisitor
public DesignBaseVisitor()
-
-
Method Details
-
visitStart
Visit a parse tree produced byDesignParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComment
Visit a parse tree produced byDesignParser.comment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommentin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConfigDeclaration
Visit a parse tree produced byDesignParser.configDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConfigDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConfigKey
Visit a parse tree produced byDesignParser.configKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConfigKeyin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConfigValue
Visit a parse tree produced byDesignParser.configValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConfigValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnit
Visit a parse tree produced byDesignParser.unit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnitin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecalartions
Visit a parse tree produced byDesignParser.decalartions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecalartionsin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFlowDeclaration
Visit a parse tree produced byDesignParser.flowDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFlowDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInteractionDeclaration
Visit a parse tree produced byDesignParser.interactionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInteractionDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSeeDeclaration
Visit a parse tree produced byDesignParser.seeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSeeDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoDeclaration
Visit a parse tree produced byDesignParser.doDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReactDeclaration
Visit a parse tree produced byDesignParser.reactDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReactDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnimateDeclaration
Visit a parse tree produced byDesignParser.animateDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnimateDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReactAction
Visit a parse tree produced byDesignParser.reactAction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReactActionin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGotoAction
Visit a parse tree produced byDesignParser.gotoAction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGotoActionin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShowAction
Visit a parse tree produced byDesignParser.showAction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShowActionin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitActionName
Visit a parse tree produced byDesignParser.actionName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitActionNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentValue
Visit a parse tree produced byDesignParser.componentValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentName
Visit a parse tree produced byDesignParser.componentName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSceneName
Visit a parse tree produced byDesignParser.sceneName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSceneNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnimateName
Visit a parse tree produced byDesignParser.animateName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnimateNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPageDeclaration
Visit a parse tree produced byDesignParser.pageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPageDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentDeclaration
Visit a parse tree produced byDesignParser.componentDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentBodyDeclaration
Visit a parse tree produced byDesignParser.componentBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentBodyDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutDeclaration
Visit a parse tree produced byDesignParser.layoutDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLayoutDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleLayoutDeclaration
Visit a parse tree produced byDesignParser.simpleLayoutDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleLayoutDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullLineBreak
Visit a parse tree produced by thefullLineBreaklabeled alternative inDesignParser.layoutRow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFullLineBreakin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullLayoutLine
Visit a parse tree produced by thefullLayoutLinelabeled alternative inDesignParser.layoutRow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFullLayoutLinein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnedLineBreak
Visit a parse tree produced by thecolumnedLineBreaklabeled alternative inDesignParser.layoutRow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnedLineBreakin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnedLayoutLine
Visit a parse tree produced by thecolumnedLayoutLinelabeled alternative inDesignParser.layoutRow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnedLayoutLinein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutLines
Visit a parse tree produced byDesignParser.layoutLines().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLayoutLinesin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutLine
Visit a parse tree produced byDesignParser.layoutLine().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLayoutLinein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentUseDeclaration
Visit a parse tree produced byDesignParser.componentUseDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentUseDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommentString
Visit a parse tree produced byDesignParser.commentString().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommentStringin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentText
Visit a parse tree produced byDesignParser.componentText().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentTextin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentLayoutValue
Visit a parse tree produced byDesignParser.componentLayoutValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComponentLayoutValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStyleDeclaration
Visit a parse tree produced byDesignParser.styleDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStyleDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStyleName
Visit a parse tree produced byDesignParser.styleName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStyleNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStyleBody
Visit a parse tree produced byDesignParser.styleBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStyleBodyin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLibraryDeclaration
Visit a parse tree produced byDesignParser.libraryDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLibraryDeclarationin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetKeyValue
Visit a parse tree produced by thepresetKeyValuelabeled alternative inDesignParser.libraryExpress().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetKeyValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetKeyObject
Visit a parse tree produced by thepresetKeyObjectlabeled alternative inDesignParser.libraryExpress().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetKeyObjectin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetKeyArray
Visit a parse tree produced by thepresetKeyArraylabeled alternative inDesignParser.libraryExpress().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetKeyArrayin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byDesignParser.keyValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetKey
Visit a parse tree produced byDesignParser.presetKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetKeyin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetValue
Visit a parse tree produced byDesignParser.presetValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetValuein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetArray
Visit a parse tree produced byDesignParser.presetArray().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetArrayin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPresetCall
Visit a parse tree produced byDesignParser.presetCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPresetCallin interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLibraryName
Visit a parse tree produced byDesignParser.libraryName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLibraryNamein interfaceDesignVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-