Class CocoParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- net.sourceforge.pmd.lang.coco.ast.CocoParser
-
public class CocoParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
AFTER
static int
AMP
static int
AND
static int
ARROW
static int
AS
static int
ASSERT
static int
ASSIGN
static int
AT
static int
ATTRIBUTE
static int
BACKTICK_LITERAL
static int
BECOME
static int
BLOCK_COMMENT
static int
BREAK
static int
CASE
static int
CHAR_LITERAL
static int
COLON
static int
COMMA
static int
COMPONENT
static int
CONTINUE
static int
DIV
static int
DOT
static int
ELLIP
static int
ELSE
static int
ENTRY
static int
ENUM
static int
EQ
static int
EXCL
static int
EXECUTION
static int
EXIT
static int
EXTERNAL
static int
FINAL
static int
FOR
static int
FUNCTION
static int
GE
static int
GT
static int
IDENTIFIER
static int
IF
static int
ILLEGAL
static int
IMPL
static int
IMPORT
static int
IN
static int
INIT
static int
INSTANCE
static int
INTEGER
static int
LB
static int
LC
static int
LE
static int
LINE_COMMENT
static int
LP
static int
LT
static int
MACHINE
static int
MATCH
static int
MINUS
static int
MOD
static int
MUL
static int
MUT
static int
MUTATING
static int
NE
static int
NEWLINE
static int
NONDET
static int
OFFER
static int
OPTIONAL
static int
OR
static int
OTHERWISE
static int
OUT
static int
OUTGOING
static int
PERIODIC
static int
PIPE
static int
PLUS
static int
PORT
static int
PRIVATE
static int
QM
static int
RB
static int
RC
static int
RETURN
static int
RP
static int
RULE_attribute
static int
RULE_attributeDeclaration
static int
RULE_becomeStatement
static int
RULE_blockExpression_
static int
RULE_breakStatement
static int
RULE_caseParameter
static int
RULE_caseParameters
static int
RULE_componentDeclaration
static int
RULE_componentElement
static int
RULE_constructorDeclaration
static int
RULE_continueStatement
static int
RULE_declaration
static int
RULE_declarationStatement
static int
RULE_dotIdentifierList
static int
RULE_entryFunctionDeclaration
static int
RULE_enumCase
static int
RULE_enumCasePattern
static int
RULE_enumDeclaration
static int
RULE_enumElement
static int
RULE_eventHandler
static int
RULE_eventSource
static int
RULE_eventStateDeclaration
static int
RULE_eventStateElement
static int
RULE_eventTransition
static int
RULE_executionStateDeclaration
static int
RULE_exitFunctionDeclaration
static int
RULE_expression
static int
RULE_expressions
static int
RULE_externalConstantDeclaration
static int
RULE_externalFunctionDeclaration
static int
RULE_externalTypeDeclaration
static int
RULE_externalTypeElement
static int
RULE_fieldAssignment
static int
RULE_fieldAssignments
static int
RULE_fieldDeclaration
static int
RULE_forStatement
static int
RULE_functionDeclaration
static int
RULE_functionInterfaceDeclaration
static int
RULE_genericType
static int
RULE_genericTypeDeclaration
static int
RULE_genericTypes
static int
RULE_idParameterPattern
static int
RULE_idParameterPatterns
static int
RULE_ifExpression_
static int
RULE_importDeclaration
static int
RULE_instanceDeclaration
static int
RULE_literalExpression_
static int
RULE_matchClause
static int
RULE_matchClauses
static int
RULE_matchExpression_
static int
RULE_module
static int
RULE_nondetClause
static int
RULE_nondetClauses
static int
RULE_nondetExpression_
static int
RULE_offer
static int
RULE_offerClause
static int
RULE_offerClauses
static int
RULE_parameter
static int
RULE_parameterPattern
static int
RULE_parameterPatterns
static int
RULE_parameters
static int
RULE_pattern
static int
RULE_portDeclaration
static int
RULE_portElement
static int
RULE_returnStatement
static int
RULE_signalDeclaration
static int
RULE_spontaneousTransition
static int
RULE_stateDeclaration
static int
RULE_stateInvariant
static int
RULE_stateMachineDeclaration
static int
RULE_stateMachineElement
static int
RULE_statement
static int
RULE_staticMemberDeclaration
static int
RULE_structDeclaration
static int
RULE_structElement
static int
RULE_timerTransition
static int
RULE_transitionDeclaration
static int
RULE_type
static int
RULE_typeAliasDeclaration
static int
RULE_types
static int
RULE_variableDeclaration
static int
RULE_variableDeclarationPattern
static int
RULE_whileStatement
static String[]
ruleNames
static int
SEMI
static int
SIGNAL
static int
SPONTANEOUS
static int
STATE
static int
STATIC
static int
STRING_LITERAL
static int
STRUCT
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TYPE
static int
UNQUALIFIED
static int
VAL
static int
VAR
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WHERE
static int
WHILE
static int
WHITESPACE
-
Constructor Summary
Constructors Constructor Description CocoParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
-
AS
public static final int AS
- See Also:
- Constant Field Values
-
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
-
ATTRIBUTE
public static final int ATTRIBUTE
- See Also:
- Constant Field Values
-
BECOME
public static final int BECOME
- See Also:
- Constant Field Values
-
BREAK
public static final int BREAK
- See Also:
- Constant Field Values
-
CASE
public static final int CASE
- See Also:
- Constant Field Values
-
COMPONENT
public static final int COMPONENT
- See Also:
- Constant Field Values
-
CONTINUE
public static final int CONTINUE
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ENUM
public static final int ENUM
- See Also:
- Constant Field Values
-
ENTRY
public static final int ENTRY
- See Also:
- Constant Field Values
-
EXECUTION
public static final int EXECUTION
- See Also:
- Constant Field Values
-
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
-
EXTERNAL
public static final int EXTERNAL
- See Also:
- Constant Field Values
-
FINAL
public static final int FINAL
- See Also:
- Constant Field Values
-
FOR
public static final int FOR
- See Also:
- Constant Field Values
-
FUNCTION
public static final int FUNCTION
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
ILLEGAL
public static final int ILLEGAL
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
IN
public static final int IN
- See Also:
- Constant Field Values
-
INIT
public static final int INIT
- See Also:
- Constant Field Values
-
INSTANCE
public static final int INSTANCE
- See Also:
- Constant Field Values
-
MACHINE
public static final int MACHINE
- See Also:
- Constant Field Values
-
MATCH
public static final int MATCH
- See Also:
- Constant Field Values
-
MUT
public static final int MUT
- See Also:
- Constant Field Values
-
MUTATING
public static final int MUTATING
- See Also:
- Constant Field Values
-
NONDET
public static final int NONDET
- See Also:
- Constant Field Values
-
OFFER
public static final int OFFER
- See Also:
- Constant Field Values
-
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
-
OTHERWISE
public static final int OTHERWISE
- See Also:
- Constant Field Values
-
OUT
public static final int OUT
- See Also:
- Constant Field Values
-
OUTGOING
public static final int OUTGOING
- See Also:
- Constant Field Values
-
PERIODIC
public static final int PERIODIC
- See Also:
- Constant Field Values
-
PORT
public static final int PORT
- See Also:
- Constant Field Values
-
PRIVATE
public static final int PRIVATE
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
SIGNAL
public static final int SIGNAL
- See Also:
- Constant Field Values
-
SPONTANEOUS
public static final int SPONTANEOUS
- See Also:
- Constant Field Values
-
STATE
public static final int STATE
- See Also:
- Constant Field Values
-
STATIC
public static final int STATIC
- See Also:
- Constant Field Values
-
STRUCT
public static final int STRUCT
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
UNQUALIFIED
public static final int UNQUALIFIED
- See Also:
- Constant Field Values
-
VAL
public static final int VAL
- See Also:
- Constant Field Values
-
VAR
public static final int VAR
- See Also:
- Constant Field Values
-
WHERE
public static final int WHERE
- See Also:
- Constant Field Values
-
WHILE
public static final int WHILE
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
AT
public static final int AT
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
LP
public static final int LP
- See Also:
- Constant Field Values
-
RP
public static final int RP
- See Also:
- Constant Field Values
-
LC
public static final int LC
- See Also:
- Constant Field Values
-
RC
public static final int RC
- See Also:
- Constant Field Values
-
LB
public static final int LB
- See Also:
- Constant Field Values
-
RB
public static final int RB
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
SEMI
public static final int SEMI
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
LT
public static final int LT
- See Also:
- Constant Field Values
-
GT
public static final int GT
- See Also:
- Constant Field Values
-
MUL
public static final int MUL
- See Also:
- Constant Field Values
-
DIV
public static final int DIV
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
MOD
public static final int MOD
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
IMPL
public static final int IMPL
- See Also:
- Constant Field Values
-
ARROW
public static final int ARROW
- See Also:
- Constant Field Values
-
AMP
public static final int AMP
- See Also:
- Constant Field Values
-
QM
public static final int QM
- See Also:
- Constant Field Values
-
PIPE
public static final int PIPE
- See Also:
- Constant Field Values
-
EXCL
public static final int EXCL
- See Also:
- Constant Field Values
-
ELLIP
public static final int ELLIP
- See Also:
- Constant Field Values
-
EQ
public static final int EQ
- See Also:
- Constant Field Values
-
NE
public static final int NE
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
LE
public static final int LE
- See Also:
- Constant Field Values
-
GE
public static final int GE
- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
- See Also:
- Constant Field Values
-
NEWLINE
public static final int NEWLINE
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
BLOCK_COMMENT
public static final int BLOCK_COMMENT
- See Also:
- Constant Field Values
-
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
-
BACKTICK_LITERAL
public static final int BACKTICK_LITERAL
- See Also:
- Constant Field Values
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
RULE_module
public static final int RULE_module
- See Also:
- Constant Field Values
-
RULE_declaration
public static final int RULE_declaration
- See Also:
- Constant Field Values
-
RULE_attribute
public static final int RULE_attribute
- See Also:
- Constant Field Values
-
RULE_attributeDeclaration
public static final int RULE_attributeDeclaration
- See Also:
- Constant Field Values
-
RULE_importDeclaration
public static final int RULE_importDeclaration
- See Also:
- Constant Field Values
-
RULE_variableDeclaration
public static final int RULE_variableDeclaration
- See Also:
- Constant Field Values
-
RULE_enumDeclaration
public static final int RULE_enumDeclaration
- See Also:
- Constant Field Values
-
RULE_structDeclaration
public static final int RULE_structDeclaration
- See Also:
- Constant Field Values
-
RULE_typeAliasDeclaration
public static final int RULE_typeAliasDeclaration
- See Also:
- Constant Field Values
-
RULE_functionDeclaration
public static final int RULE_functionDeclaration
- See Also:
- Constant Field Values
-
RULE_instanceDeclaration
public static final int RULE_instanceDeclaration
- See Also:
- Constant Field Values
-
RULE_portDeclaration
public static final int RULE_portDeclaration
- See Also:
- Constant Field Values
-
RULE_componentDeclaration
public static final int RULE_componentDeclaration
- See Also:
- Constant Field Values
-
RULE_externalConstantDeclaration
public static final int RULE_externalConstantDeclaration
- See Also:
- Constant Field Values
-
RULE_externalTypeDeclaration
public static final int RULE_externalTypeDeclaration
- See Also:
- Constant Field Values
-
RULE_externalTypeElement
public static final int RULE_externalTypeElement
- See Also:
- Constant Field Values
-
RULE_externalFunctionDeclaration
public static final int RULE_externalFunctionDeclaration
- See Also:
- Constant Field Values
-
RULE_genericTypeDeclaration
public static final int RULE_genericTypeDeclaration
- See Also:
- Constant Field Values
-
RULE_genericTypes
public static final int RULE_genericTypes
- See Also:
- Constant Field Values
-
RULE_genericType
public static final int RULE_genericType
- See Also:
- Constant Field Values
-
RULE_enumElement
public static final int RULE_enumElement
- See Also:
- Constant Field Values
-
RULE_enumCase
public static final int RULE_enumCase
- See Also:
- Constant Field Values
-
RULE_caseParameters
public static final int RULE_caseParameters
- See Also:
- Constant Field Values
-
RULE_caseParameter
public static final int RULE_caseParameter
- See Also:
- Constant Field Values
-
RULE_structElement
public static final int RULE_structElement
- See Also:
- Constant Field Values
-
RULE_fieldDeclaration
public static final int RULE_fieldDeclaration
- See Also:
- Constant Field Values
-
RULE_componentElement
public static final int RULE_componentElement
- See Also:
- Constant Field Values
-
RULE_staticMemberDeclaration
public static final int RULE_staticMemberDeclaration
- See Also:
- Constant Field Values
-
RULE_constructorDeclaration
public static final int RULE_constructorDeclaration
- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
-
RULE_blockExpression_
public static final int RULE_blockExpression_
- See Also:
- Constant Field Values
-
RULE_ifExpression_
public static final int RULE_ifExpression_
- See Also:
- Constant Field Values
-
RULE_matchExpression_
public static final int RULE_matchExpression_
- See Also:
- Constant Field Values
-
RULE_nondetExpression_
public static final int RULE_nondetExpression_
- See Also:
- Constant Field Values
-
RULE_fieldAssignments
public static final int RULE_fieldAssignments
- See Also:
- Constant Field Values
-
RULE_fieldAssignment
public static final int RULE_fieldAssignment
- See Also:
- Constant Field Values
-
RULE_nondetClauses
public static final int RULE_nondetClauses
- See Also:
- Constant Field Values
-
RULE_nondetClause
public static final int RULE_nondetClause
- See Also:
- Constant Field Values
-
RULE_matchClauses
public static final int RULE_matchClauses
- See Also:
- Constant Field Values
-
RULE_matchClause
public static final int RULE_matchClause
- See Also:
- Constant Field Values
-
RULE_pattern
public static final int RULE_pattern
- See Also:
- Constant Field Values
-
RULE_enumCasePattern
public static final int RULE_enumCasePattern
- See Also:
- Constant Field Values
-
RULE_idParameterPatterns
public static final int RULE_idParameterPatterns
- See Also:
- Constant Field Values
-
RULE_idParameterPattern
public static final int RULE_idParameterPattern
- See Also:
- Constant Field Values
-
RULE_variableDeclarationPattern
public static final int RULE_variableDeclarationPattern
- See Also:
- Constant Field Values
-
RULE_parameterPatterns
public static final int RULE_parameterPatterns
- See Also:
- Constant Field Values
-
RULE_parameterPattern
public static final int RULE_parameterPattern
- See Also:
- Constant Field Values
-
RULE_expressions
public static final int RULE_expressions
- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement
- See Also:
- Constant Field Values
-
RULE_declarationStatement
public static final int RULE_declarationStatement
- See Also:
- Constant Field Values
-
RULE_returnStatement
public static final int RULE_returnStatement
- See Also:
- Constant Field Values
-
RULE_becomeStatement
public static final int RULE_becomeStatement
- See Also:
- Constant Field Values
-
RULE_whileStatement
public static final int RULE_whileStatement
- See Also:
- Constant Field Values
-
RULE_forStatement
public static final int RULE_forStatement
- See Also:
- Constant Field Values
-
RULE_breakStatement
public static final int RULE_breakStatement
- See Also:
- Constant Field Values
-
RULE_continueStatement
public static final int RULE_continueStatement
- See Also:
- Constant Field Values
-
RULE_portElement
public static final int RULE_portElement
- See Also:
- Constant Field Values
-
RULE_functionInterfaceDeclaration
public static final int RULE_functionInterfaceDeclaration
- See Also:
- Constant Field Values
-
RULE_signalDeclaration
public static final int RULE_signalDeclaration
- See Also:
- Constant Field Values
-
RULE_stateMachineDeclaration
public static final int RULE_stateMachineDeclaration
- See Also:
- Constant Field Values
-
RULE_stateMachineElement
public static final int RULE_stateMachineElement
- See Also:
- Constant Field Values
-
RULE_stateDeclaration
public static final int RULE_stateDeclaration
- See Also:
- Constant Field Values
-
RULE_eventStateDeclaration
public static final int RULE_eventStateDeclaration
- See Also:
- Constant Field Values
-
RULE_executionStateDeclaration
public static final int RULE_executionStateDeclaration
- See Also:
- Constant Field Values
-
RULE_eventStateElement
public static final int RULE_eventStateElement
- See Also:
- Constant Field Values
-
RULE_entryFunctionDeclaration
public static final int RULE_entryFunctionDeclaration
- See Also:
- Constant Field Values
-
RULE_exitFunctionDeclaration
public static final int RULE_exitFunctionDeclaration
- See Also:
- Constant Field Values
-
RULE_stateInvariant
public static final int RULE_stateInvariant
- See Also:
- Constant Field Values
-
RULE_transitionDeclaration
public static final int RULE_transitionDeclaration
- See Also:
- Constant Field Values
-
RULE_eventTransition
public static final int RULE_eventTransition
- See Also:
- Constant Field Values
-
RULE_eventSource
public static final int RULE_eventSource
- See Also:
- Constant Field Values
-
RULE_spontaneousTransition
public static final int RULE_spontaneousTransition
- See Also:
- Constant Field Values
-
RULE_timerTransition
public static final int RULE_timerTransition
- See Also:
- Constant Field Values
-
RULE_eventHandler
public static final int RULE_eventHandler
- See Also:
- Constant Field Values
-
RULE_offer
public static final int RULE_offer
- See Also:
- Constant Field Values
-
RULE_offerClauses
public static final int RULE_offerClauses
- See Also:
- Constant Field Values
-
RULE_offerClause
public static final int RULE_offerClause
- See Also:
- Constant Field Values
-
RULE_parameters
public static final int RULE_parameters
- See Also:
- Constant Field Values
-
RULE_parameter
public static final int RULE_parameter
- See Also:
- Constant Field Values
-
RULE_literalExpression_
public static final int RULE_literalExpression_
- See Also:
- Constant Field Values
-
RULE_type
public static final int RULE_type
- See Also:
- Constant Field Values
-
RULE_types
public static final int RULE_types
- See Also:
- Constant Field Values
-
RULE_dotIdentifierList
public static final int RULE_dotIdentifierList
- See Also:
- Constant Field Values
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] getTokenNames()
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.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
- Throws:
org.antlr.v4.runtime.RecognitionException
-
declaration
public final CocoParser.DeclarationContext declaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attribute
public final CocoParser.AttributeContext attribute() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
attributeDeclaration
public final CocoParser.AttributeDeclarationContext attributeDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
importDeclaration
public final CocoParser.ImportDeclarationContext importDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableDeclaration
public final CocoParser.VariableDeclarationContext variableDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumDeclaration
public final CocoParser.EnumDeclarationContext enumDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
structDeclaration
public final CocoParser.StructDeclarationContext structDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeAliasDeclaration
public final CocoParser.TypeAliasDeclarationContext typeAliasDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionDeclaration
public final CocoParser.FunctionDeclarationContext functionDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
instanceDeclaration
public final CocoParser.InstanceDeclarationContext instanceDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
portDeclaration
public final CocoParser.PortDeclarationContext portDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
componentDeclaration
public final CocoParser.ComponentDeclarationContext componentDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
externalConstantDeclaration
public final CocoParser.ExternalConstantDeclarationContext externalConstantDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
externalTypeDeclaration
public final CocoParser.ExternalTypeDeclarationContext externalTypeDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
externalTypeElement
public final CocoParser.ExternalTypeElementContext externalTypeElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
externalFunctionDeclaration
public final CocoParser.ExternalFunctionDeclarationContext externalFunctionDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericTypeDeclaration
public final CocoParser.GenericTypeDeclarationContext genericTypeDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericTypes
public final CocoParser.GenericTypesContext genericTypes() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
genericType
public final CocoParser.GenericTypeContext genericType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumElement
public final CocoParser.EnumElementContext enumElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumCase
public final CocoParser.EnumCaseContext enumCase() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
caseParameters
public final CocoParser.CaseParametersContext caseParameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
caseParameter
public final CocoParser.CaseParameterContext caseParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
structElement
public final CocoParser.StructElementContext structElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldDeclaration
public final CocoParser.FieldDeclarationContext fieldDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
componentElement
public final CocoParser.ComponentElementContext componentElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
staticMemberDeclaration
public final CocoParser.StaticMemberDeclarationContext staticMemberDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
constructorDeclaration
public final CocoParser.ConstructorDeclarationContext constructorDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final CocoParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
blockExpression_
public final CocoParser.BlockExpression_Context blockExpression_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
ifExpression_
public final CocoParser.IfExpression_Context ifExpression_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matchExpression_
public final CocoParser.MatchExpression_Context matchExpression_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nondetExpression_
public final CocoParser.NondetExpression_Context nondetExpression_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldAssignments
public final CocoParser.FieldAssignmentsContext fieldAssignments() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldAssignment
public final CocoParser.FieldAssignmentContext fieldAssignment() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nondetClauses
public final CocoParser.NondetClausesContext nondetClauses() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nondetClause
public final CocoParser.NondetClauseContext nondetClause() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matchClauses
public final CocoParser.MatchClausesContext matchClauses() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matchClause
public final CocoParser.MatchClauseContext matchClause() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
pattern
public final CocoParser.PatternContext pattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumCasePattern
public final CocoParser.EnumCasePatternContext enumCasePattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
idParameterPatterns
public final CocoParser.IdParameterPatternsContext idParameterPatterns() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
idParameterPattern
public final CocoParser.IdParameterPatternContext idParameterPattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableDeclarationPattern
public final CocoParser.VariableDeclarationPatternContext variableDeclarationPattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parameterPatterns
public final CocoParser.ParameterPatternsContext parameterPatterns() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parameterPattern
public final CocoParser.ParameterPatternContext parameterPattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expressions
public final CocoParser.ExpressionsContext expressions() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final CocoParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
declarationStatement
public final CocoParser.DeclarationStatementContext declarationStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
returnStatement
public final CocoParser.ReturnStatementContext returnStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
becomeStatement
public final CocoParser.BecomeStatementContext becomeStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
whileStatement
public final CocoParser.WhileStatementContext whileStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
forStatement
public final CocoParser.ForStatementContext forStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
breakStatement
public final CocoParser.BreakStatementContext breakStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
continueStatement
public final CocoParser.ContinueStatementContext continueStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
portElement
public final CocoParser.PortElementContext portElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionInterfaceDeclaration
public final CocoParser.FunctionInterfaceDeclarationContext functionInterfaceDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
signalDeclaration
public final CocoParser.SignalDeclarationContext signalDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stateMachineDeclaration
public final CocoParser.StateMachineDeclarationContext stateMachineDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stateMachineElement
public final CocoParser.StateMachineElementContext stateMachineElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stateDeclaration
public final CocoParser.StateDeclarationContext stateDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
eventStateDeclaration
public final CocoParser.EventStateDeclarationContext eventStateDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
executionStateDeclaration
public final CocoParser.ExecutionStateDeclarationContext executionStateDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
eventStateElement
public final CocoParser.EventStateElementContext eventStateElement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
entryFunctionDeclaration
public final CocoParser.EntryFunctionDeclarationContext entryFunctionDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exitFunctionDeclaration
public final CocoParser.ExitFunctionDeclarationContext exitFunctionDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stateInvariant
public final CocoParser.StateInvariantContext stateInvariant() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
transitionDeclaration
public final CocoParser.TransitionDeclarationContext transitionDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
eventTransition
public final CocoParser.EventTransitionContext eventTransition() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
eventSource
public final CocoParser.EventSourceContext eventSource() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
spontaneousTransition
public final CocoParser.SpontaneousTransitionContext spontaneousTransition() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
timerTransition
public final CocoParser.TimerTransitionContext timerTransition() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
eventHandler
public final CocoParser.EventHandlerContext eventHandler() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
offer
public final CocoParser.OfferContext offer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
offerClauses
public final CocoParser.OfferClausesContext offerClauses() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
offerClause
public final CocoParser.OfferClauseContext offerClause() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parameters
public final CocoParser.ParametersContext parameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parameter
public final CocoParser.ParameterContext parameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
literalExpression_
public final CocoParser.LiteralExpression_Context literalExpression_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
type
public final CocoParser.TypeContext type() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
types
public final CocoParser.TypesContext types() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dotIdentifierList
public final CocoParser.DotIdentifierListContext dotIdentifierList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
- Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
-