Package org.intocps.maestro.parser
Interface MablParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
MablParserBaseVisitor,ParseTree2AstConverter
public interface MablParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
MablParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theandmedOrPrimitiveTypeTypelabeled alternative inMablParser.typeType().Visit a parse tree produced by thearrayIndexlabeled alternative inMablParser.expression().Visit a parse tree produced by thearrayInitlabeled alternative inMablParser.variableInitializer().Visit a parse tree produced byMablParser.arrayInitializer().Visit a parse tree produced by thearrayMultidimentionalInitlabeled alternative inMablParser.variableInitializer().Visit a parse tree produced by thearrayStateDesignatorlabeled alternative inMablParser.stateDesignator().Visit a parse tree produced by thearrayTypeTypelabeled alternative inMablParser.typeType().Visit a parse tree produced byMablParser.assignment().Visit a parse tree produced by theassignmentStmlabeled alternative inMablParser.statement().Visit a parse tree produced by thebinaryExplabeled alternative inMablParser.expression().Visit a parse tree produced byMablParser.block().Visit a parse tree produced by theblockStmlabeled alternative inMablParser.statement().Visit a parse tree produced by theboolTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by thebreaklabeled alternative inMablParser.statement().Visit a parse tree produced by thebyteTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced byMablParser.compilationUnit().Visit a parse tree produced by theconfiglabeled alternative inMablParser.statement().Visit a parse tree produced by thedotPrefixExplabeled alternative inMablParser.expression().Visit a parse tree produced by theerrorlabeled alternative inMablParser.statement().Visit a parse tree produced by theexpInitlabeled alternative inMablParser.variableInitializer().Visit a parse tree produced byMablParser.expressionList().Visit a parse tree produced by theexpressionStatementlabeled alternative inMablParser.statement().Visit a parse tree produced byMablParser.expTest().Visit a parse tree produced by thefloatTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by thefmuMappinglabeled alternative inMablParser.statement().Visit a parse tree produced byMablParser.formalParameter().Visit a parse tree produced byMablParser.formalParameterList().Visit a parse tree produced byMablParser.formalParameters().Visit a parse tree produced byMablParser.framework().Visit a parse tree produced byMablParser.frameworkConfigs().Visit a parse tree produced byMablParser.functionDeclaration().Visit a parse tree produced by theidentifierExplabeled alternative inMablParser.expression().Visit a parse tree produced by theidentifierStateDesignatorlabeled alternative inMablParser.stateDesignator().Visit a parse tree produced by theidentifierTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().Visit a parse tree produced by theiflabeled alternative inMablParser.statement().Visit a parse tree produced by theinstanceMappinglabeled alternative inMablParser.statement().Visit a parse tree produced by theintTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced byMablParser.literal().Visit a parse tree produced by theliteralExplabeled alternative inMablParser.expression().Visit a parse tree produced by thelocalVariablelabeled alternative inMablParser.statement().Visit a parse tree produced by thelongTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced byMablParser.methodCall().Visit a parse tree produced byMablParser.moduleDeclaration().Visit a parse tree produced by theobservablelabeled alternative inMablParser.statement().Visit a parse tree produced by theparallelBlockStmlabeled alternative inMablParser.statement().Visit a parse tree produced by theparenExplabeled alternative inMablParser.expression().Visit a parse tree produced byMablParser.parExpression().Visit a parse tree produced by theplainMetodExplabeled alternative inMablParser.expression().Visit a parse tree produced by theprimitiveTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().Visit a parse tree produced by therealTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by therefExpressionlabeled alternative inMablParser.expression().Visit a parse tree produced by thesemilabeled alternative inMablParser.statement().Visit a parse tree produced by theshortTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced byMablParser.simulationSpecification().Visit a parse tree produced by thestringTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by thetransferlabeled alternative inMablParser.statement().Visit a parse tree produced by thetransferAslabeled alternative inMablParser.statement().Visit a parse tree produced by thetrylabeled alternative inMablParser.statement().Visit a parse tree produced by theuintTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by theunaryExplabeled alternative inMablParser.expression().Visit a parse tree produced by theunknownTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced byMablParser.variableDeclarator().Visit a parse tree produced by thevoidTypelabeled alternative inMablParser.primitiveType().Visit a parse tree produced by thewhilelabeled alternative inMablParser.statement().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byMablParser.compilationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleDeclaration
Visit a parse tree produced byMablParser.moduleDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
Visit a parse tree produced byMablParser.functionDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byMablParser.formalParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byMablParser.formalParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byMablParser.formalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFramework
Visit a parse tree produced byMablParser.framework().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFrameworkConfigs
Visit a parse tree produced byMablParser.frameworkConfigs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimulationSpecification
Visit a parse tree produced byMablParser.simulationSpecification().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byMablParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStm
Visit a parse tree produced by theblockStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParallelBlockStm
Visit a parse tree produced by theparallelBlockStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentStm
Visit a parse tree produced by theassignmentStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariable
Visit a parse tree produced by thelocalVariablelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIf
Visit a parse tree produced by theiflabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhile
Visit a parse tree produced by thewhilelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
Visit a parse tree produced by theexpressionStatementlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSemi
Visit a parse tree produced by thesemilabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObservable
Visit a parse tree produced by theobservablelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreak
Visit a parse tree produced by thebreaklabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFmuMapping
Visit a parse tree produced by thefmuMappinglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceMapping
Visit a parse tree produced by theinstanceMappinglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTransfer
Visit a parse tree produced by thetransferlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTransferAs
Visit a parse tree produced by thetransferAslabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConfig
Visit a parse tree produced by theconfiglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitError
Visit a parse tree produced by theerrorlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTry
Visit a parse tree produced by thetrylabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byMablParser.assignment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierStateDesignator
Visit a parse tree produced by theidentifierStateDesignatorlabeled alternative inMablParser.stateDesignator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayStateDesignator
Visit a parse tree produced by thearrayStateDesignatorlabeled alternative inMablParser.stateDesignator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpTest
Visit a parse tree produced byMablParser.expTest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRefExpression
Visit a parse tree produced by therefExpressionlabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierExp
Visit a parse tree produced by theidentifierExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExp
Visit a parse tree produced by theliteralExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotPrefixExp
Visit a parse tree produced by thedotPrefixExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExp
Visit a parse tree produced by thebinaryExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExp
Visit a parse tree produced by theunaryExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPlainMetodExp
Visit a parse tree produced by theplainMetodExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExp
Visit a parse tree produced by theparenExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayIndex
Visit a parse tree produced by thearrayIndexlabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byMablParser.expressionList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced byMablParser.methodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byMablParser.parExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byMablParser.variableDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInit
Visit a parse tree produced by thearrayInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayMultidimentionalInit
Visit a parse tree produced by thearrayMultidimentionalInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpInit
Visit a parse tree produced by theexpInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byMablParser.arrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayTypeType
Visit a parse tree produced by thearrayTypeTypelabeled alternative inMablParser.typeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndmedOrPrimitiveTypeType
Visit a parse tree produced by theandmedOrPrimitiveTypeTypelabeled alternative inMablParser.typeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypeType
Visit a parse tree produced by theidentifierTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveTypeType
Visit a parse tree produced by theprimitiveTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRealType
Visit a parse tree produced by therealTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUintType
Visit a parse tree produced by theuintTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntType
Visit a parse tree produced by theintTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringType
Visit a parse tree produced by thestringTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolType
Visit a parse tree produced by theboolTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnknownType
Visit a parse tree produced by theunknownTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoidType
Visit a parse tree produced by thevoidTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLongType
Visit a parse tree produced by thelongTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitByteType
Visit a parse tree produced by thebyteTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatType
Visit a parse tree produced by thefloatTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShortType
Visit a parse tree produced by theshortTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byMablParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-