Class CocoParser


  • @Deprecated
    @Generated("org.antlr.v4.Tool")
    public class CocoParser
    extends org.antlr.v4.runtime.Parser
    Deprecated.
    Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.
    • Constructor Detail

      • CocoParser

        public CocoParser​(org.antlr.v4.runtime.TokenStream input)
        Deprecated.
    • Method Detail

      • getTokenNames

        @Deprecated
        public String[] getTokenNames()
        Deprecated.
        Specified by:
        getTokenNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getVocabulary

        public org.antlr.v4.runtime.Vocabulary getVocabulary()
        Deprecated.
        Overrides:
        getVocabulary in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getGrammarFileName

        public String getGrammarFileName()
        Deprecated.
        Specified by:
        getGrammarFileName in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getRuleNames

        public String[] getRuleNames()
        Deprecated.
        Specified by:
        getRuleNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getSerializedATN

        public String getSerializedATN()
        Deprecated.
        Overrides:
        getSerializedATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getATN

        public org.antlr.v4.runtime.atn.ATN getATN()
        Deprecated.
        Specified by:
        getATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • module

        public final CocoParser.ModuleContext module()
                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • declaration

        public final CocoParser.DeclarationContext declaration()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • attribute

        public final CocoParser.AttributeContext attribute()
                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • attributeDeclaration

        public final CocoParser.AttributeDeclarationContext attributeDeclaration()
                                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • importDeclaration

        public final CocoParser.ImportDeclarationContext importDeclaration()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • variableDeclaration

        public final CocoParser.VariableDeclarationContext variableDeclaration()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • enumDeclaration

        public final CocoParser.EnumDeclarationContext enumDeclaration()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • structDeclaration

        public final CocoParser.StructDeclarationContext structDeclaration()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • typeAliasDeclaration

        public final CocoParser.TypeAliasDeclarationContext typeAliasDeclaration()
                                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • functionDeclaration

        public final CocoParser.FunctionDeclarationContext functionDeclaration()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • instanceDeclaration

        public final CocoParser.InstanceDeclarationContext instanceDeclaration()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • portDeclaration

        public final CocoParser.PortDeclarationContext portDeclaration()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • componentDeclaration

        public final CocoParser.ComponentDeclarationContext componentDeclaration()
                                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • externalConstantDeclaration

        public final CocoParser.ExternalConstantDeclarationContext externalConstantDeclaration()
                                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • externalTypeDeclaration

        public final CocoParser.ExternalTypeDeclarationContext externalTypeDeclaration()
                                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • externalTypeElement

        public final CocoParser.ExternalTypeElementContext externalTypeElement()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • externalFunctionDeclaration

        public final CocoParser.ExternalFunctionDeclarationContext externalFunctionDeclaration()
                                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • genericTypeDeclaration

        public final CocoParser.GenericTypeDeclarationContext genericTypeDeclaration()
                                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • genericTypes

        public final CocoParser.GenericTypesContext genericTypes()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • genericType

        public final CocoParser.GenericTypeContext genericType()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • enumElement

        public final CocoParser.EnumElementContext enumElement()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • enumCase

        public final CocoParser.EnumCaseContext enumCase()
                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • caseParameters

        public final CocoParser.CaseParametersContext caseParameters()
                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • caseParameter

        public final CocoParser.CaseParameterContext caseParameter()
                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • structElement

        public final CocoParser.StructElementContext structElement()
                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • fieldDeclaration

        public final CocoParser.FieldDeclarationContext fieldDeclaration()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • componentElement

        public final CocoParser.ComponentElementContext componentElement()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • staticMemberDeclaration

        public final CocoParser.StaticMemberDeclarationContext staticMemberDeclaration()
                                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • constructorDeclaration

        public final CocoParser.ConstructorDeclarationContext constructorDeclaration()
                                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • expression

        public final CocoParser.ExpressionContext expression()
                                                      throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • blockExpression_

        public final CocoParser.BlockExpression_Context blockExpression_()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • ifExpression_

        public final CocoParser.IfExpression_Context ifExpression_()
                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • matchExpression_

        public final CocoParser.MatchExpression_Context matchExpression_()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • nondetExpression_

        public final CocoParser.NondetExpression_Context nondetExpression_()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • fieldAssignments

        public final CocoParser.FieldAssignmentsContext fieldAssignments()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • fieldAssignment

        public final CocoParser.FieldAssignmentContext fieldAssignment()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • nondetClauses

        public final CocoParser.NondetClausesContext nondetClauses()
                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • nondetClause

        public final CocoParser.NondetClauseContext nondetClause()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • matchClauses

        public final CocoParser.MatchClausesContext matchClauses()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • matchClause

        public final CocoParser.MatchClauseContext matchClause()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • pattern

        public final CocoParser.PatternContext pattern()
                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • enumCasePattern

        public final CocoParser.EnumCasePatternContext enumCasePattern()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • idParameterPatterns

        public final CocoParser.IdParameterPatternsContext idParameterPatterns()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • idParameterPattern

        public final CocoParser.IdParameterPatternContext idParameterPattern()
                                                                      throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • variableDeclarationPattern

        public final CocoParser.VariableDeclarationPatternContext variableDeclarationPattern()
                                                                                      throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • parameterPatterns

        public final CocoParser.ParameterPatternsContext parameterPatterns()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • parameterPattern

        public final CocoParser.ParameterPatternContext parameterPattern()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • expressions

        public final CocoParser.ExpressionsContext expressions()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • statement

        public final CocoParser.StatementContext statement()
                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • declarationStatement

        public final CocoParser.DeclarationStatementContext declarationStatement()
                                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • returnStatement

        public final CocoParser.ReturnStatementContext returnStatement()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • becomeStatement

        public final CocoParser.BecomeStatementContext becomeStatement()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • whileStatement

        public final CocoParser.WhileStatementContext whileStatement()
                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • forStatement

        public final CocoParser.ForStatementContext forStatement()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • breakStatement

        public final CocoParser.BreakStatementContext breakStatement()
                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • continueStatement

        public final CocoParser.ContinueStatementContext continueStatement()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • portElement

        public final CocoParser.PortElementContext portElement()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • functionInterfaceDeclaration

        public final CocoParser.FunctionInterfaceDeclarationContext functionInterfaceDeclaration()
                                                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • signalDeclaration

        public final CocoParser.SignalDeclarationContext signalDeclaration()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • stateMachineDeclaration

        public final CocoParser.StateMachineDeclarationContext stateMachineDeclaration()
                                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • stateMachineElement

        public final CocoParser.StateMachineElementContext stateMachineElement()
                                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • stateDeclaration

        public final CocoParser.StateDeclarationContext stateDeclaration()
                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • eventStateDeclaration

        public final CocoParser.EventStateDeclarationContext eventStateDeclaration()
                                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • executionStateDeclaration

        public final CocoParser.ExecutionStateDeclarationContext executionStateDeclaration()
                                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • eventStateElement

        public final CocoParser.EventStateElementContext eventStateElement()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • entryFunctionDeclaration

        public final CocoParser.EntryFunctionDeclarationContext entryFunctionDeclaration()
                                                                                  throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • exitFunctionDeclaration

        public final CocoParser.ExitFunctionDeclarationContext exitFunctionDeclaration()
                                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • stateInvariant

        public final CocoParser.StateInvariantContext stateInvariant()
                                                              throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • transitionDeclaration

        public final CocoParser.TransitionDeclarationContext transitionDeclaration()
                                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • eventTransition

        public final CocoParser.EventTransitionContext eventTransition()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • eventSource

        public final CocoParser.EventSourceContext eventSource()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • spontaneousTransition

        public final CocoParser.SpontaneousTransitionContext spontaneousTransition()
                                                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • timerTransition

        public final CocoParser.TimerTransitionContext timerTransition()
                                                                throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • eventHandler

        public final CocoParser.EventHandlerContext eventHandler()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • offer

        public final CocoParser.OfferContext offer()
                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • offerClauses

        public final CocoParser.OfferClausesContext offerClauses()
                                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • offerClause

        public final CocoParser.OfferClauseContext offerClause()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • parameters

        public final CocoParser.ParametersContext parameters()
                                                      throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • parameter

        public final CocoParser.ParameterContext parameter()
                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • literalExpression_

        public final CocoParser.LiteralExpression_Context literalExpression_()
                                                                      throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • type

        public final CocoParser.TypeContext type()
                                          throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • types

        public final CocoParser.TypesContext types()
                                            throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • dotIdentifierList

        public final CocoParser.DotIdentifierListContext dotIdentifierList()
                                                                    throws org.antlr.v4.runtime.RecognitionException
        Deprecated.
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • sempred

        public boolean sempred​(org.antlr.v4.runtime.RuleContext _localctx,
                               int ruleIndex,
                               int predIndex)
        Deprecated.
        Overrides:
        sempred in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>