<filename>yaps/stanListener.py<gh_stars>10-100
# Generated from yaps/stan.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
    from .stanParser import stanParser
else:
    from stanParser import stanParser

# This class defines a complete listener for a parse tree produced by stanParser.
class stanListener(ParseTreeListener):

    # Enter a parse tree produced by stanParser#include.
    def enterInclude(self, ctx:stanParser.IncludeContext):
        pass

    # Exit a parse tree produced by stanParser#include.
    def exitInclude(self, ctx:stanParser.IncludeContext):
        pass


    # Enter a parse tree produced by stanParser#primitiveType.
    def enterPrimitiveType(self, ctx:stanParser.PrimitiveTypeContext):
        pass

    # Exit a parse tree produced by stanParser#primitiveType.
    def exitPrimitiveType(self, ctx:stanParser.PrimitiveTypeContext):
        pass


    # Enter a parse tree produced by stanParser#vectorType.
    def enterVectorType(self, ctx:stanParser.VectorTypeContext):
        pass

    # Exit a parse tree produced by stanParser#vectorType.
    def exitVectorType(self, ctx:stanParser.VectorTypeContext):
        pass


    # Enter a parse tree produced by stanParser#matrixType.
    def enterMatrixType(self, ctx:stanParser.MatrixTypeContext):
        pass

    # Exit a parse tree produced by stanParser#matrixType.
    def exitMatrixType(self, ctx:stanParser.MatrixTypeContext):
        pass


    # Enter a parse tree produced by stanParser#type_.
    def enterType_(self, ctx:stanParser.Type_Context):
        pass

    # Exit a parse tree produced by stanParser#type_.
    def exitType_(self, ctx:stanParser.Type_Context):
        pass


    # Enter a parse tree produced by stanParser#typeConstraints.
    def enterTypeConstraints(self, ctx:stanParser.TypeConstraintsContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraints.
    def exitTypeConstraints(self, ctx:stanParser.TypeConstraintsContext):
        pass


    # Enter a parse tree produced by stanParser#typeConstraintList.
    def enterTypeConstraintList(self, ctx:stanParser.TypeConstraintListContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraintList.
    def exitTypeConstraintList(self, ctx:stanParser.TypeConstraintListContext):
        pass


    # Enter a parse tree produced by stanParser#typeConstraint.
    def enterTypeConstraint(self, ctx:stanParser.TypeConstraintContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraint.
    def exitTypeConstraint(self, ctx:stanParser.TypeConstraintContext):
        pass


    # Enter a parse tree produced by stanParser#variableDecl.
    def enterVariableDecl(self, ctx:stanParser.VariableDeclContext):
        pass

    # Exit a parse tree produced by stanParser#variableDecl.
    def exitVariableDecl(self, ctx:stanParser.VariableDeclContext):
        pass


    # Enter a parse tree produced by stanParser#arrayDim.
    def enterArrayDim(self, ctx:stanParser.ArrayDimContext):
        pass

    # Exit a parse tree produced by stanParser#arrayDim.
    def exitArrayDim(self, ctx:stanParser.ArrayDimContext):
        pass


    # Enter a parse tree produced by stanParser#commaListOpt.
    def enterCommaListOpt(self, ctx:stanParser.CommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#commaListOpt.
    def exitCommaListOpt(self, ctx:stanParser.CommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#variableDeclsOpt.
    def enterVariableDeclsOpt(self, ctx:stanParser.VariableDeclsOptContext):
        pass

    # Exit a parse tree produced by stanParser#variableDeclsOpt.
    def exitVariableDeclsOpt(self, ctx:stanParser.VariableDeclsOptContext):
        pass


    # Enter a parse tree produced by stanParser#constant.
    def enterConstant(self, ctx:stanParser.ConstantContext):
        pass

    # Exit a parse tree produced by stanParser#constant.
    def exitConstant(self, ctx:stanParser.ConstantContext):
        pass


    # Enter a parse tree produced by stanParser#variable.
    def enterVariable(self, ctx:stanParser.VariableContext):
        pass

    # Exit a parse tree produced by stanParser#variable.
    def exitVariable(self, ctx:stanParser.VariableContext):
        pass


    # Enter a parse tree produced by stanParser#vectorExpr.
    def enterVectorExpr(self, ctx:stanParser.VectorExprContext):
        pass

    # Exit a parse tree produced by stanParser#vectorExpr.
    def exitVectorExpr(self, ctx:stanParser.VectorExprContext):
        pass


    # Enter a parse tree produced by stanParser#arrayExpr.
    def enterArrayExpr(self, ctx:stanParser.ArrayExprContext):
        pass

    # Exit a parse tree produced by stanParser#arrayExpr.
    def exitArrayExpr(self, ctx:stanParser.ArrayExprContext):
        pass


    # Enter a parse tree produced by stanParser#atom.
    def enterAtom(self, ctx:stanParser.AtomContext):
        pass

    # Exit a parse tree produced by stanParser#atom.
    def exitAtom(self, ctx:stanParser.AtomContext):
        pass


    # Enter a parse tree produced by stanParser#callExpr.
    def enterCallExpr(self, ctx:stanParser.CallExprContext):
        pass

    # Exit a parse tree produced by stanParser#callExpr.
    def exitCallExpr(self, ctx:stanParser.CallExprContext):
        pass


    # Enter a parse tree produced by stanParser#expression.
    def enterExpression(self, ctx:stanParser.ExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#expression.
    def exitExpression(self, ctx:stanParser.ExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#constraintExpression.
    def enterConstraintExpression(self, ctx:stanParser.ConstraintExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#constraintExpression.
    def exitConstraintExpression(self, ctx:stanParser.ConstraintExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#indexExpression.
    def enterIndexExpression(self, ctx:stanParser.IndexExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#indexExpression.
    def exitIndexExpression(self, ctx:stanParser.IndexExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#expressionCommaList.
    def enterExpressionCommaList(self, ctx:stanParser.ExpressionCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#expressionCommaList.
    def exitExpressionCommaList(self, ctx:stanParser.ExpressionCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#expressionCommaListOpt.
    def enterExpressionCommaListOpt(self, ctx:stanParser.ExpressionCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#expressionCommaListOpt.
    def exitExpressionCommaListOpt(self, ctx:stanParser.ExpressionCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#indexExpressionCommaListOpt.
    def enterIndexExpressionCommaListOpt(self, ctx:stanParser.IndexExpressionCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#indexExpressionCommaListOpt.
    def exitIndexExpressionCommaListOpt(self, ctx:stanParser.IndexExpressionCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#lvalue.
    def enterLvalue(self, ctx:stanParser.LvalueContext):
        pass

    # Exit a parse tree produced by stanParser#lvalue.
    def exitLvalue(self, ctx:stanParser.LvalueContext):
        pass


    # Enter a parse tree produced by stanParser#assignStmt.
    def enterAssignStmt(self, ctx:stanParser.AssignStmtContext):
        pass

    # Exit a parse tree produced by stanParser#assignStmt.
    def exitAssignStmt(self, ctx:stanParser.AssignStmtContext):
        pass


    # Enter a parse tree produced by stanParser#truncation.
    def enterTruncation(self, ctx:stanParser.TruncationContext):
        pass

    # Exit a parse tree produced by stanParser#truncation.
    def exitTruncation(self, ctx:stanParser.TruncationContext):
        pass


    # Enter a parse tree produced by stanParser#forStmt.
    def enterForStmt(self, ctx:stanParser.ForStmtContext):
        pass

    # Exit a parse tree produced by stanParser#forStmt.
    def exitForStmt(self, ctx:stanParser.ForStmtContext):
        pass


    # Enter a parse tree produced by stanParser#conditionalStmt.
    def enterConditionalStmt(self, ctx:stanParser.ConditionalStmtContext):
        pass

    # Exit a parse tree produced by stanParser#conditionalStmt.
    def exitConditionalStmt(self, ctx:stanParser.ConditionalStmtContext):
        pass


    # Enter a parse tree produced by stanParser#whileStmt.
    def enterWhileStmt(self, ctx:stanParser.WhileStmtContext):
        pass

    # Exit a parse tree produced by stanParser#whileStmt.
    def exitWhileStmt(self, ctx:stanParser.WhileStmtContext):
        pass


    # Enter a parse tree produced by stanParser#blockStmt.
    def enterBlockStmt(self, ctx:stanParser.BlockStmtContext):
        pass

    # Exit a parse tree produced by stanParser#blockStmt.
    def exitBlockStmt(self, ctx:stanParser.BlockStmtContext):
        pass


    # Enter a parse tree produced by stanParser#callStmt.
    def enterCallStmt(self, ctx:stanParser.CallStmtContext):
        pass

    # Exit a parse tree produced by stanParser#callStmt.
    def exitCallStmt(self, ctx:stanParser.CallStmtContext):
        pass


    # Enter a parse tree produced by stanParser#expressionOrString.
    def enterExpressionOrString(self, ctx:stanParser.ExpressionOrStringContext):
        pass

    # Exit a parse tree produced by stanParser#expressionOrString.
    def exitExpressionOrString(self, ctx:stanParser.ExpressionOrStringContext):
        pass


    # Enter a parse tree produced by stanParser#expressionOrStringCommaList.
    def enterExpressionOrStringCommaList(self, ctx:stanParser.ExpressionOrStringCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#expressionOrStringCommaList.
    def exitExpressionOrStringCommaList(self, ctx:stanParser.ExpressionOrStringCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#statement.
    def enterStatement(self, ctx:stanParser.StatementContext):
        pass

    # Exit a parse tree produced by stanParser#statement.
    def exitStatement(self, ctx:stanParser.StatementContext):
        pass


    # Enter a parse tree produced by stanParser#statementsOpt.
    def enterStatementsOpt(self, ctx:stanParser.StatementsOptContext):
        pass

    # Exit a parse tree produced by stanParser#statementsOpt.
    def exitStatementsOpt(self, ctx:stanParser.StatementsOptContext):
        pass


    # Enter a parse tree produced by stanParser#functionDecl.
    def enterFunctionDecl(self, ctx:stanParser.FunctionDeclContext):
        pass

    # Exit a parse tree produced by stanParser#functionDecl.
    def exitFunctionDecl(self, ctx:stanParser.FunctionDeclContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedReturnType.
    def enterUnsizedReturnType(self, ctx:stanParser.UnsizedReturnTypeContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedReturnType.
    def exitUnsizedReturnType(self, ctx:stanParser.UnsizedReturnTypeContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedType.
    def enterUnsizedType(self, ctx:stanParser.UnsizedTypeContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedType.
    def exitUnsizedType(self, ctx:stanParser.UnsizedTypeContext):
        pass


    # Enter a parse tree produced by stanParser#basicType.
    def enterBasicType(self, ctx:stanParser.BasicTypeContext):
        pass

    # Exit a parse tree produced by stanParser#basicType.
    def exitBasicType(self, ctx:stanParser.BasicTypeContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedDims.
    def enterUnsizedDims(self, ctx:stanParser.UnsizedDimsContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedDims.
    def exitUnsizedDims(self, ctx:stanParser.UnsizedDimsContext):
        pass


    # Enter a parse tree produced by stanParser#parameterDecl.
    def enterParameterDecl(self, ctx:stanParser.ParameterDeclContext):
        pass

    # Exit a parse tree produced by stanParser#parameterDecl.
    def exitParameterDecl(self, ctx:stanParser.ParameterDeclContext):
        pass


    # Enter a parse tree produced by stanParser#parameterCommaList.
    def enterParameterCommaList(self, ctx:stanParser.ParameterCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#parameterCommaList.
    def exitParameterCommaList(self, ctx:stanParser.ParameterCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#parameterCommaListOpt.
    def enterParameterCommaListOpt(self, ctx:stanParser.ParameterCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#parameterCommaListOpt.
    def exitParameterCommaListOpt(self, ctx:stanParser.ParameterCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#returnStmt.
    def enterReturnStmt(self, ctx:stanParser.ReturnStmtContext):
        pass

    # Exit a parse tree produced by stanParser#returnStmt.
    def exitReturnStmt(self, ctx:stanParser.ReturnStmtContext):
        pass


    # Enter a parse tree produced by stanParser#functionDeclsOpt.
    def enterFunctionDeclsOpt(self, ctx:stanParser.FunctionDeclsOptContext):
        pass

    # Exit a parse tree produced by stanParser#functionDeclsOpt.
    def exitFunctionDeclsOpt(self, ctx:stanParser.FunctionDeclsOptContext):
        pass


    # Enter a parse tree produced by stanParser#functionBlock.
    def enterFunctionBlock(self, ctx:stanParser.FunctionBlockContext):
        pass

    # Exit a parse tree produced by stanParser#functionBlock.
    def exitFunctionBlock(self, ctx:stanParser.FunctionBlockContext):
        pass


    # Enter a parse tree produced by stanParser#dataBlock.
    def enterDataBlock(self, ctx:stanParser.DataBlockContext):
        pass

    # Exit a parse tree produced by stanParser#dataBlock.
    def exitDataBlock(self, ctx:stanParser.DataBlockContext):
        pass


    # Enter a parse tree produced by stanParser#transformedDataBlock.
    def enterTransformedDataBlock(self, ctx:stanParser.TransformedDataBlockContext):
        pass

    # Exit a parse tree produced by stanParser#transformedDataBlock.
    def exitTransformedDataBlock(self, ctx:stanParser.TransformedDataBlockContext):
        pass


    # Enter a parse tree produced by stanParser#parametersBlock.
    def enterParametersBlock(self, ctx:stanParser.ParametersBlockContext):
        pass

    # Exit a parse tree produced by stanParser#parametersBlock.
    def exitParametersBlock(self, ctx:stanParser.ParametersBlockContext):
        pass


    # Enter a parse tree produced by stanParser#transformedParametersBlock.
    def enterTransformedParametersBlock(self, ctx:stanParser.TransformedParametersBlockContext):
        pass

    # Exit a parse tree produced by stanParser#transformedParametersBlock.
    def exitTransformedParametersBlock(self, ctx:stanParser.TransformedParametersBlockContext):
        pass


    # Enter a parse tree produced by stanParser#modelBlock.
    def enterModelBlock(self, ctx:stanParser.ModelBlockContext):
        pass

    # Exit a parse tree produced by stanParser#modelBlock.
    def exitModelBlock(self, ctx:stanParser.ModelBlockContext):
        pass


    # Enter a parse tree produced by stanParser#generatedQuantitiesBlock.
    def enterGeneratedQuantitiesBlock(self, ctx:stanParser.GeneratedQuantitiesBlockContext):
        pass

    # Exit a parse tree produced by stanParser#generatedQuantitiesBlock.
    def exitGeneratedQuantitiesBlock(self, ctx:stanParser.GeneratedQuantitiesBlockContext):
        pass


    # Enter a parse tree produced by stanParser#program.
    def enterProgram(self, ctx:stanParser.ProgramContext):
        pass

    # Exit a parse tree produced by stanParser#program.
    def exitProgram(self, ctx:stanParser.ProgramContext):
        pass



<filename>yaps/stanListener.py<gh_stars>10-100
# Generated from yaps/stan.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
    from .stanParser import stanParser
else:
    from stanParser import stanParser

# This class defines a complete listener for a parse tree produced by stanParser.
class stanListener(ParseTreeListener):

    # Enter a parse tree produced by stanParser#include.
    def enterInclude(self, ctx:stanParser.IncludeContext):
        pass

    # Exit a parse tree produced by stanParser#include.
    def exitInclude(self, ctx:stanParser.IncludeContext):
        pass


    # Enter a parse tree produced by stanParser#primitiveType.
    def enterPrimitiveType(self, ctx:stanParser.PrimitiveTypeContext):
        pass

    # Exit a parse tree produced by stanParser#primitiveType.
    def exitPrimitiveType(self, ctx:stanParser.PrimitiveTypeContext):
        pass


    # Enter a parse tree produced by stanParser#vectorType.
    def enterVectorType(self, ctx:stanParser.VectorTypeContext):
        pass

    # Exit a parse tree produced by stanParser#vectorType.
    def exitVectorType(self, ctx:stanParser.VectorTypeContext):
        pass


    # Enter a parse tree produced by stanParser#matrixType.
    def enterMatrixType(self, ctx:stanParser.MatrixTypeContext):
        pass

    # Exit a parse tree produced by stanParser#matrixType.
    def exitMatrixType(self, ctx:stanParser.MatrixTypeContext):
        pass


    # Enter a parse tree produced by stanParser#type_.
    def enterType_(self, ctx:stanParser.Type_Context):
        pass

    # Exit a parse tree produced by stanParser#type_.
    def exitType_(self, ctx:stanParser.Type_Context):
        pass


    # Enter a parse tree produced by stanParser#typeConstraints.
    def enterTypeConstraints(self, ctx:stanParser.TypeConstraintsContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraints.
    def exitTypeConstraints(self, ctx:stanParser.TypeConstraintsContext):
        pass


    # Enter a parse tree produced by stanParser#typeConstraintList.
    def enterTypeConstraintList(self, ctx:stanParser.TypeConstraintListContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraintList.
    def exitTypeConstraintList(self, ctx:stanParser.TypeConstraintListContext):
        pass


    # Enter a parse tree produced by stanParser#typeConstraint.
    def enterTypeConstraint(self, ctx:stanParser.TypeConstraintContext):
        pass

    # Exit a parse tree produced by stanParser#typeConstraint.
    def exitTypeConstraint(self, ctx:stanParser.TypeConstraintContext):
        pass


    # Enter a parse tree produced by stanParser#variableDecl.
    def enterVariableDecl(self, ctx:stanParser.VariableDeclContext):
        pass

    # Exit a parse tree produced by stanParser#variableDecl.
    def exitVariableDecl(self, ctx:stanParser.VariableDeclContext):
        pass


    # Enter a parse tree produced by stanParser#arrayDim.
    def enterArrayDim(self, ctx:stanParser.ArrayDimContext):
        pass

    # Exit a parse tree produced by stanParser#arrayDim.
    def exitArrayDim(self, ctx:stanParser.ArrayDimContext):
        pass


    # Enter a parse tree produced by stanParser#commaListOpt.
    def enterCommaListOpt(self, ctx:stanParser.CommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#commaListOpt.
    def exitCommaListOpt(self, ctx:stanParser.CommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#variableDeclsOpt.
    def enterVariableDeclsOpt(self, ctx:stanParser.VariableDeclsOptContext):
        pass

    # Exit a parse tree produced by stanParser#variableDeclsOpt.
    def exitVariableDeclsOpt(self, ctx:stanParser.VariableDeclsOptContext):
        pass


    # Enter a parse tree produced by stanParser#constant.
    def enterConstant(self, ctx:stanParser.ConstantContext):
        pass

    # Exit a parse tree produced by stanParser#constant.
    def exitConstant(self, ctx:stanParser.ConstantContext):
        pass


    # Enter a parse tree produced by stanParser#variable.
    def enterVariable(self, ctx:stanParser.VariableContext):
        pass

    # Exit a parse tree produced by stanParser#variable.
    def exitVariable(self, ctx:stanParser.VariableContext):
        pass


    # Enter a parse tree produced by stanParser#vectorExpr.
    def enterVectorExpr(self, ctx:stanParser.VectorExprContext):
        pass

    # Exit a parse tree produced by stanParser#vectorExpr.
    def exitVectorExpr(self, ctx:stanParser.VectorExprContext):
        pass


    # Enter a parse tree produced by stanParser#arrayExpr.
    def enterArrayExpr(self, ctx:stanParser.ArrayExprContext):
        pass

    # Exit a parse tree produced by stanParser#arrayExpr.
    def exitArrayExpr(self, ctx:stanParser.ArrayExprContext):
        pass


    # Enter a parse tree produced by stanParser#atom.
    def enterAtom(self, ctx:stanParser.AtomContext):
        pass

    # Exit a parse tree produced by stanParser#atom.
    def exitAtom(self, ctx:stanParser.AtomContext):
        pass


    # Enter a parse tree produced by stanParser#callExpr.
    def enterCallExpr(self, ctx:stanParser.CallExprContext):
        pass

    # Exit a parse tree produced by stanParser#callExpr.
    def exitCallExpr(self, ctx:stanParser.CallExprContext):
        pass


    # Enter a parse tree produced by stanParser#expression.
    def enterExpression(self, ctx:stanParser.ExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#expression.
    def exitExpression(self, ctx:stanParser.ExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#constraintExpression.
    def enterConstraintExpression(self, ctx:stanParser.ConstraintExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#constraintExpression.
    def exitConstraintExpression(self, ctx:stanParser.ConstraintExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#indexExpression.
    def enterIndexExpression(self, ctx:stanParser.IndexExpressionContext):
        pass

    # Exit a parse tree produced by stanParser#indexExpression.
    def exitIndexExpression(self, ctx:stanParser.IndexExpressionContext):
        pass


    # Enter a parse tree produced by stanParser#expressionCommaList.
    def enterExpressionCommaList(self, ctx:stanParser.ExpressionCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#expressionCommaList.
    def exitExpressionCommaList(self, ctx:stanParser.ExpressionCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#expressionCommaListOpt.
    def enterExpressionCommaListOpt(self, ctx:stanParser.ExpressionCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#expressionCommaListOpt.
    def exitExpressionCommaListOpt(self, ctx:stanParser.ExpressionCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#indexExpressionCommaListOpt.
    def enterIndexExpressionCommaListOpt(self, ctx:stanParser.IndexExpressionCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#indexExpressionCommaListOpt.
    def exitIndexExpressionCommaListOpt(self, ctx:stanParser.IndexExpressionCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#lvalue.
    def enterLvalue(self, ctx:stanParser.LvalueContext):
        pass

    # Exit a parse tree produced by stanParser#lvalue.
    def exitLvalue(self, ctx:stanParser.LvalueContext):
        pass


    # Enter a parse tree produced by stanParser#assignStmt.
    def enterAssignStmt(self, ctx:stanParser.AssignStmtContext):
        pass

    # Exit a parse tree produced by stanParser#assignStmt.
    def exitAssignStmt(self, ctx:stanParser.AssignStmtContext):
        pass


    # Enter a parse tree produced by stanParser#truncation.
    def enterTruncation(self, ctx:stanParser.TruncationContext):
        pass

    # Exit a parse tree produced by stanParser#truncation.
    def exitTruncation(self, ctx:stanParser.TruncationContext):
        pass


    # Enter a parse tree produced by stanParser#forStmt.
    def enterForStmt(self, ctx:stanParser.ForStmtContext):
        pass

    # Exit a parse tree produced by stanParser#forStmt.
    def exitForStmt(self, ctx:stanParser.ForStmtContext):
        pass


    # Enter a parse tree produced by stanParser#conditionalStmt.
    def enterConditionalStmt(self, ctx:stanParser.ConditionalStmtContext):
        pass

    # Exit a parse tree produced by stanParser#conditionalStmt.
    def exitConditionalStmt(self, ctx:stanParser.ConditionalStmtContext):
        pass


    # Enter a parse tree produced by stanParser#whileStmt.
    def enterWhileStmt(self, ctx:stanParser.WhileStmtContext):
        pass

    # Exit a parse tree produced by stanParser#whileStmt.
    def exitWhileStmt(self, ctx:stanParser.WhileStmtContext):
        pass


    # Enter a parse tree produced by stanParser#blockStmt.
    def enterBlockStmt(self, ctx:stanParser.BlockStmtContext):
        pass

    # Exit a parse tree produced by stanParser#blockStmt.
    def exitBlockStmt(self, ctx:stanParser.BlockStmtContext):
        pass


    # Enter a parse tree produced by stanParser#callStmt.
    def enterCallStmt(self, ctx:stanParser.CallStmtContext):
        pass

    # Exit a parse tree produced by stanParser#callStmt.
    def exitCallStmt(self, ctx:stanParser.CallStmtContext):
        pass


    # Enter a parse tree produced by stanParser#expressionOrString.
    def enterExpressionOrString(self, ctx:stanParser.ExpressionOrStringContext):
        pass

    # Exit a parse tree produced by stanParser#expressionOrString.
    def exitExpressionOrString(self, ctx:stanParser.ExpressionOrStringContext):
        pass


    # Enter a parse tree produced by stanParser#expressionOrStringCommaList.
    def enterExpressionOrStringCommaList(self, ctx:stanParser.ExpressionOrStringCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#expressionOrStringCommaList.
    def exitExpressionOrStringCommaList(self, ctx:stanParser.ExpressionOrStringCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#statement.
    def enterStatement(self, ctx:stanParser.StatementContext):
        pass

    # Exit a parse tree produced by stanParser#statement.
    def exitStatement(self, ctx:stanParser.StatementContext):
        pass


    # Enter a parse tree produced by stanParser#statementsOpt.
    def enterStatementsOpt(self, ctx:stanParser.StatementsOptContext):
        pass

    # Exit a parse tree produced by stanParser#statementsOpt.
    def exitStatementsOpt(self, ctx:stanParser.StatementsOptContext):
        pass


    # Enter a parse tree produced by stanParser#functionDecl.
    def enterFunctionDecl(self, ctx:stanParser.FunctionDeclContext):
        pass

    # Exit a parse tree produced by stanParser#functionDecl.
    def exitFunctionDecl(self, ctx:stanParser.FunctionDeclContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedReturnType.
    def enterUnsizedReturnType(self, ctx:stanParser.UnsizedReturnTypeContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedReturnType.
    def exitUnsizedReturnType(self, ctx:stanParser.UnsizedReturnTypeContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedType.
    def enterUnsizedType(self, ctx:stanParser.UnsizedTypeContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedType.
    def exitUnsizedType(self, ctx:stanParser.UnsizedTypeContext):
        pass


    # Enter a parse tree produced by stanParser#basicType.
    def enterBasicType(self, ctx:stanParser.BasicTypeContext):
        pass

    # Exit a parse tree produced by stanParser#basicType.
    def exitBasicType(self, ctx:stanParser.BasicTypeContext):
        pass


    # Enter a parse tree produced by stanParser#unsizedDims.
    def enterUnsizedDims(self, ctx:stanParser.UnsizedDimsContext):
        pass

    # Exit a parse tree produced by stanParser#unsizedDims.
    def exitUnsizedDims(self, ctx:stanParser.UnsizedDimsContext):
        pass


    # Enter a parse tree produced by stanParser#parameterDecl.
    def enterParameterDecl(self, ctx:stanParser.ParameterDeclContext):
        pass

    # Exit a parse tree produced by stanParser#parameterDecl.
    def exitParameterDecl(self, ctx:stanParser.ParameterDeclContext):
        pass


    # Enter a parse tree produced by stanParser#parameterCommaList.
    def enterParameterCommaList(self, ctx:stanParser.ParameterCommaListContext):
        pass

    # Exit a parse tree produced by stanParser#parameterCommaList.
    def exitParameterCommaList(self, ctx:stanParser.ParameterCommaListContext):
        pass


    # Enter a parse tree produced by stanParser#parameterCommaListOpt.
    def enterParameterCommaListOpt(self, ctx:stanParser.ParameterCommaListOptContext):
        pass

    # Exit a parse tree produced by stanParser#parameterCommaListOpt.
    def exitParameterCommaListOpt(self, ctx:stanParser.ParameterCommaListOptContext):
        pass


    # Enter a parse tree produced by stanParser#returnStmt.
    def enterReturnStmt(self, ctx:stanParser.ReturnStmtContext):
        pass

    # Exit a parse tree produced by stanParser#returnStmt.
    def exitReturnStmt(self, ctx:stanParser.ReturnStmtContext):
        pass


    # Enter a parse tree produced by stanParser#functionDeclsOpt.
    def enterFunctionDeclsOpt(self, ctx:stanParser.FunctionDeclsOptContext):
        pass

    # Exit a parse tree produced by stanParser#functionDeclsOpt.
    def exitFunctionDeclsOpt(self, ctx:stanParser.FunctionDeclsOptContext):
        pass


    # Enter a parse tree produced by stanParser#functionBlock.
    def enterFunctionBlock(self, ctx:stanParser.FunctionBlockContext):
        pass

    # Exit a parse tree produced by stanParser#functionBlock.
    def exitFunctionBlock(self, ctx:stanParser.FunctionBlockContext):
        pass


    # Enter a parse tree produced by stanParser#dataBlock.
    def enterDataBlock(self, ctx:stanParser.DataBlockContext):
        pass

    # Exit a parse tree produced by stanParser#dataBlock.
    def exitDataBlock(self, ctx:stanParser.DataBlockContext):
        pass


    # Enter a parse tree produced by stanParser#transformedDataBlock.
    def enterTransformedDataBlock(self, ctx:stanParser.TransformedDataBlockContext):
        pass

    # Exit a parse tree produced by stanParser#transformedDataBlock.
    def exitTransformedDataBlock(self, ctx:stanParser.TransformedDataBlockContext):
        pass


    # Enter a parse tree produced by stanParser#parametersBlock.
    def enterParametersBlock(self, ctx:stanParser.ParametersBlockContext):
        pass

    # Exit a parse tree produced by stanParser#parametersBlock.
    def exitParametersBlock(self, ctx:stanParser.ParametersBlockContext):
        pass


    # Enter a parse tree produced by stanParser#transformedParametersBlock.
    def enterTransformedParametersBlock(self, ctx:stanParser.TransformedParametersBlockContext):
        pass

    # Exit a parse tree produced by stanParser#transformedParametersBlock.
    def exitTransformedParametersBlock(self, ctx:stanParser.TransformedParametersBlockContext):
        pass


    # Enter a parse tree produced by stanParser#modelBlock.
    def enterModelBlock(self, ctx:stanParser.ModelBlockContext):
        pass

    # Exit a parse tree produced by stanParser#modelBlock.
    def exitModelBlock(self, ctx:stanParser.ModelBlockContext):
        pass


    # Enter a parse tree produced by stanParser#generatedQuantitiesBlock.
    def enterGeneratedQuantitiesBlock(self, ctx:stanParser.GeneratedQuantitiesBlockContext):
        pass

    # Exit a parse tree produced by stanParser#generatedQuantitiesBlock.
    def exitGeneratedQuantitiesBlock(self, ctx:stanParser.GeneratedQuantitiesBlockContext):
        pass


    # Enter a parse tree produced by stanParser#program.
    def enterProgram(self, ctx:stanParser.ProgramContext):
        pass

    # Exit a parse tree produced by stanParser#program.
    def exitProgram(self, ctx:stanParser.ProgramContext):
        pass



# Generated from yaps/stan.g4 by ANTLR 4.7.1 # This class defines a complete listener for a parse tree produced by stanParser. # Enter a parse tree produced by stanParser#include. # Exit a parse tree produced by stanParser#include. # Enter a parse tree produced by stanParser#primitiveType. # Exit a parse tree produced by stanParser#primitiveType. # Enter a parse tree produced by stanParser#vectorType. # Exit a parse tree produced by stanParser#vectorType. # Enter a parse tree produced by stanParser#matrixType. # Exit a parse tree produced by stanParser#matrixType. # Enter a parse tree produced by stanParser#type_. # Exit a parse tree produced by stanParser#type_. # Enter a parse tree produced by stanParser#typeConstraints. # Exit a parse tree produced by stanParser#typeConstraints. # Enter a parse tree produced by stanParser#typeConstraintList. # Exit a parse tree produced by stanParser#typeConstraintList. # Enter a parse tree produced by stanParser#typeConstraint. # Exit a parse tree produced by stanParser#typeConstraint. # Enter a parse tree produced by stanParser#variableDecl. # Exit a parse tree produced by stanParser#variableDecl. # Enter a parse tree produced by stanParser#arrayDim. # Exit a parse tree produced by stanParser#arrayDim. # Enter a parse tree produced by stanParser#commaListOpt. # Exit a parse tree produced by stanParser#commaListOpt. # Enter a parse tree produced by stanParser#variableDeclsOpt. # Exit a parse tree produced by stanParser#variableDeclsOpt. # Enter a parse tree produced by stanParser#constant. # Exit a parse tree produced by stanParser#constant. # Enter a parse tree produced by stanParser#variable. # Exit a parse tree produced by stanParser#variable. # Enter a parse tree produced by stanParser#vectorExpr. # Exit a parse tree produced by stanParser#vectorExpr. # Enter a parse tree produced by stanParser#arrayExpr. # Exit a parse tree produced by stanParser#arrayExpr. # Enter a parse tree produced by stanParser#atom. # Exit a parse tree produced by stanParser#atom. # Enter a parse tree produced by stanParser#callExpr. # Exit a parse tree produced by stanParser#callExpr. # Enter a parse tree produced by stanParser#expression. # Exit a parse tree produced by stanParser#expression. # Enter a parse tree produced by stanParser#constraintExpression. # Exit a parse tree produced by stanParser#constraintExpression. # Enter a parse tree produced by stanParser#indexExpression. # Exit a parse tree produced by stanParser#indexExpression. # Enter a parse tree produced by stanParser#expressionCommaList. # Exit a parse tree produced by stanParser#expressionCommaList. # Enter a parse tree produced by stanParser#expressionCommaListOpt. # Exit a parse tree produced by stanParser#expressionCommaListOpt. # Enter a parse tree produced by stanParser#indexExpressionCommaListOpt. # Exit a parse tree produced by stanParser#indexExpressionCommaListOpt. # Enter a parse tree produced by stanParser#lvalue. # Exit a parse tree produced by stanParser#lvalue. # Enter a parse tree produced by stanParser#assignStmt. # Exit a parse tree produced by stanParser#assignStmt. # Enter a parse tree produced by stanParser#truncation. # Exit a parse tree produced by stanParser#truncation. # Enter a parse tree produced by stanParser#forStmt. # Exit a parse tree produced by stanParser#forStmt. # Enter a parse tree produced by stanParser#conditionalStmt. # Exit a parse tree produced by stanParser#conditionalStmt. # Enter a parse tree produced by stanParser#whileStmt. # Exit a parse tree produced by stanParser#whileStmt. # Enter a parse tree produced by stanParser#blockStmt. # Exit a parse tree produced by stanParser#blockStmt. # Enter a parse tree produced by stanParser#callStmt. # Exit a parse tree produced by stanParser#callStmt. # Enter a parse tree produced by stanParser#expressionOrString. # Exit a parse tree produced by stanParser#expressionOrString. # Enter a parse tree produced by stanParser#expressionOrStringCommaList. # Exit a parse tree produced by stanParser#expressionOrStringCommaList. # Enter a parse tree produced by stanParser#statement. # Exit a parse tree produced by stanParser#statement. # Enter a parse tree produced by stanParser#statementsOpt. # Exit a parse tree produced by stanParser#statementsOpt. # Enter a parse tree produced by stanParser#functionDecl. # Exit a parse tree produced by stanParser#functionDecl. # Enter a parse tree produced by stanParser#unsizedReturnType. # Exit a parse tree produced by stanParser#unsizedReturnType. # Enter a parse tree produced by stanParser#unsizedType. # Exit a parse tree produced by stanParser#unsizedType. # Enter a parse tree produced by stanParser#basicType. # Exit a parse tree produced by stanParser#basicType. # Enter a parse tree produced by stanParser#unsizedDims. # Exit a parse tree produced by stanParser#unsizedDims. # Enter a parse tree produced by stanParser#parameterDecl. # Exit a parse tree produced by stanParser#parameterDecl. # Enter a parse tree produced by stanParser#parameterCommaList. # Exit a parse tree produced by stanParser#parameterCommaList. # Enter a parse tree produced by stanParser#parameterCommaListOpt. # Exit a parse tree produced by stanParser#parameterCommaListOpt. # Enter a parse tree produced by stanParser#returnStmt. # Exit a parse tree produced by stanParser#returnStmt. # Enter a parse tree produced by stanParser#functionDeclsOpt. # Exit a parse tree produced by stanParser#functionDeclsOpt. # Enter a parse tree produced by stanParser#functionBlock. # Exit a parse tree produced by stanParser#functionBlock. # Enter a parse tree produced by stanParser#dataBlock. # Exit a parse tree produced by stanParser#dataBlock. # Enter a parse tree produced by stanParser#transformedDataBlock. # Exit a parse tree produced by stanParser#transformedDataBlock. # Enter a parse tree produced by stanParser#parametersBlock. # Exit a parse tree produced by stanParser#parametersBlock. # Enter a parse tree produced by stanParser#transformedParametersBlock. # Exit a parse tree produced by stanParser#transformedParametersBlock. # Enter a parse tree produced by stanParser#modelBlock. # Exit a parse tree produced by stanParser#modelBlock. # Enter a parse tree produced by stanParser#generatedQuantitiesBlock. # Exit a parse tree produced by stanParser#generatedQuantitiesBlock. # Enter a parse tree produced by stanParser#program. # Exit a parse tree produced by stanParser#program.