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 byMablParser.
-
-
Method Summary
-
-
-
Method Detail
-
visitCompilationUnit
T visitCompilationUnit(MablParser.CompilationUnitContext ctx)
Visit a parse tree produced byMablParser.compilationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleDeclaration
T visitModuleDeclaration(MablParser.ModuleDeclarationContext ctx)
Visit a parse tree produced byMablParser.moduleDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
T visitFunctionDeclaration(MablParser.FunctionDeclarationContext ctx)
Visit a parse tree produced byMablParser.functionDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
T visitFormalParameters(MablParser.FormalParametersContext ctx)
Visit a parse tree produced byMablParser.formalParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
T visitFormalParameterList(MablParser.FormalParameterListContext ctx)
Visit a parse tree produced byMablParser.formalParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
T visitFormalParameter(MablParser.FormalParameterContext ctx)
Visit a parse tree produced byMablParser.formalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFramework
T visitFramework(MablParser.FrameworkContext ctx)
Visit a parse tree produced byMablParser.framework().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFrameworkConfigs
T visitFrameworkConfigs(MablParser.FrameworkConfigsContext ctx)
Visit a parse tree produced byMablParser.frameworkConfigs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimulationSpecification
T visitSimulationSpecification(MablParser.SimulationSpecificationContext ctx)
Visit a parse tree produced byMablParser.simulationSpecification().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
T visitBlock(MablParser.BlockContext ctx)
Visit a parse tree produced byMablParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStm
T visitBlockStm(MablParser.BlockStmContext ctx)
Visit a parse tree produced by theblockStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParallelBlockStm
T visitParallelBlockStm(MablParser.ParallelBlockStmContext ctx)
Visit a parse tree produced by theparallelBlockStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentStm
T visitAssignmentStm(MablParser.AssignmentStmContext ctx)
Visit a parse tree produced by theassignmentStmlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariable
T visitLocalVariable(MablParser.LocalVariableContext ctx)
Visit a parse tree produced by thelocalVariablelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIf
T visitIf(MablParser.IfContext ctx)
Visit a parse tree produced by theiflabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhile
T visitWhile(MablParser.WhileContext ctx)
Visit a parse tree produced by thewhilelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
T visitExpressionStatement(MablParser.ExpressionStatementContext ctx)
Visit a parse tree produced by theexpressionStatementlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSemi
T visitSemi(MablParser.SemiContext ctx)
Visit a parse tree produced by thesemilabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObservable
T visitObservable(MablParser.ObservableContext ctx)
Visit a parse tree produced by theobservablelabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreak
T visitBreak(MablParser.BreakContext ctx)
Visit a parse tree produced by thebreaklabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFmuMapping
T visitFmuMapping(MablParser.FmuMappingContext ctx)
Visit a parse tree produced by thefmuMappinglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceMapping
T visitInstanceMapping(MablParser.InstanceMappingContext ctx)
Visit a parse tree produced by theinstanceMappinglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTransfer
T visitTransfer(MablParser.TransferContext ctx)
Visit a parse tree produced by thetransferlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTransferAs
T visitTransferAs(MablParser.TransferAsContext ctx)
Visit a parse tree produced by thetransferAslabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConfig
T visitConfig(MablParser.ConfigContext ctx)
Visit a parse tree produced by theconfiglabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitError
T visitError(MablParser.ErrorContext ctx)
Visit a parse tree produced by theerrorlabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTry
T visitTry(MablParser.TryContext ctx)
Visit a parse tree produced by thetrylabeled alternative inMablParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
T visitAssignment(MablParser.AssignmentContext ctx)
Visit a parse tree produced byMablParser.assignment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierStateDesignator
T visitIdentifierStateDesignator(MablParser.IdentifierStateDesignatorContext ctx)
Visit a parse tree produced by theidentifierStateDesignatorlabeled alternative inMablParser.stateDesignator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayStateDesignator
T visitArrayStateDesignator(MablParser.ArrayStateDesignatorContext ctx)
Visit a parse tree produced by thearrayStateDesignatorlabeled alternative inMablParser.stateDesignator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpTest
T visitExpTest(MablParser.ExpTestContext ctx)
Visit a parse tree produced byMablParser.expTest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRefExpression
T visitRefExpression(MablParser.RefExpressionContext ctx)
Visit a parse tree produced by therefExpressionlabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierExp
T visitIdentifierExp(MablParser.IdentifierExpContext ctx)
Visit a parse tree produced by theidentifierExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExp
T visitLiteralExp(MablParser.LiteralExpContext ctx)
Visit a parse tree produced by theliteralExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotPrefixExp
T visitDotPrefixExp(MablParser.DotPrefixExpContext ctx)
Visit a parse tree produced by thedotPrefixExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExp
T visitBinaryExp(MablParser.BinaryExpContext ctx)
Visit a parse tree produced by thebinaryExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExp
T visitUnaryExp(MablParser.UnaryExpContext ctx)
Visit a parse tree produced by theunaryExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPlainMetodExp
T visitPlainMetodExp(MablParser.PlainMetodExpContext ctx)
Visit a parse tree produced by theplainMetodExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExp
T visitParenExp(MablParser.ParenExpContext ctx)
Visit a parse tree produced by theparenExplabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayIndex
T visitArrayIndex(MablParser.ArrayIndexContext ctx)
Visit a parse tree produced by thearrayIndexlabeled alternative inMablParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
T visitExpressionList(MablParser.ExpressionListContext ctx)
Visit a parse tree produced byMablParser.expressionList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
T visitMethodCall(MablParser.MethodCallContext ctx)
Visit a parse tree produced byMablParser.methodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
T visitParExpression(MablParser.ParExpressionContext ctx)
Visit a parse tree produced byMablParser.parExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
T visitVariableDeclarator(MablParser.VariableDeclaratorContext ctx)
Visit a parse tree produced byMablParser.variableDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInit
T visitArrayInit(MablParser.ArrayInitContext ctx)
Visit a parse tree produced by thearrayInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayMultidimentionalInit
T visitArrayMultidimentionalInit(MablParser.ArrayMultidimentionalInitContext ctx)
Visit a parse tree produced by thearrayMultidimentionalInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpInit
T visitExpInit(MablParser.ExpInitContext ctx)
Visit a parse tree produced by theexpInitlabeled alternative inMablParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
T visitArrayInitializer(MablParser.ArrayInitializerContext ctx)
Visit a parse tree produced byMablParser.arrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayTypeType
T visitArrayTypeType(MablParser.ArrayTypeTypeContext ctx)
Visit a parse tree produced by thearrayTypeTypelabeled alternative inMablParser.typeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndmedOrPrimitiveTypeType
T visitAndmedOrPrimitiveTypeType(MablParser.AndmedOrPrimitiveTypeTypeContext ctx)
Visit a parse tree produced by theandmedOrPrimitiveTypeTypelabeled alternative inMablParser.typeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypeType
T visitIdentifierTypeType(MablParser.IdentifierTypeTypeContext ctx)
Visit a parse tree produced by theidentifierTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveTypeType
T visitPrimitiveTypeType(MablParser.PrimitiveTypeTypeContext ctx)
Visit a parse tree produced by theprimitiveTypeTypelabeled alternative inMablParser.namedOrPrimitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRealType
T visitRealType(MablParser.RealTypeContext ctx)
Visit a parse tree produced by therealTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUintType
T visitUintType(MablParser.UintTypeContext ctx)
Visit a parse tree produced by theuintTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntType
T visitIntType(MablParser.IntTypeContext ctx)
Visit a parse tree produced by theintTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringType
T visitStringType(MablParser.StringTypeContext ctx)
Visit a parse tree produced by thestringTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolType
T visitBoolType(MablParser.BoolTypeContext ctx)
Visit a parse tree produced by theboolTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnknownType
T visitUnknownType(MablParser.UnknownTypeContext ctx)
Visit a parse tree produced by theunknownTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoidType
T visitVoidType(MablParser.VoidTypeContext ctx)
Visit a parse tree produced by thevoidTypelabeled alternative inMablParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
T visitLiteral(MablParser.LiteralContext ctx)
Visit a parse tree produced byMablParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-