Class Dart2Parser.TopLevelDefinitionContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- net.sourceforge.pmd.lang.dart.antlr4.Dart2Parser.TopLevelDefinitionContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree
,org.antlr.v4.runtime.tree.RuleNode
,org.antlr.v4.runtime.tree.SyntaxTree
,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- Dart2Parser
public static class Dart2Parser.TopLevelDefinitionContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description TopLevelDefinitionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Method Detail
-
classDefinition
public Dart2Parser.ClassDefinitionContext classDefinition()
-
enumType
public Dart2Parser.EnumTypeContext enumType()
-
typeAlias
public Dart2Parser.TypeAliasContext typeAlias()
-
functionSignature
public Dart2Parser.FunctionSignatureContext functionSignature()
-
SEMICOLON
public org.antlr.v4.runtime.tree.TerminalNode SEMICOLON()
-
EXTERNAL
public org.antlr.v4.runtime.tree.TerminalNode EXTERNAL()
-
getterSignature
public Dart2Parser.GetterSignatureContext getterSignature()
-
setterSignature
public Dart2Parser.SetterSignatureContext setterSignature()
-
functionBody
public Dart2Parser.FunctionBodyContext functionBody()
-
GET
public org.antlr.v4.runtime.tree.TerminalNode GET()
-
identifier
public Dart2Parser.IdentifierContext identifier()
-
returnType
public Dart2Parser.ReturnTypeContext returnType()
-
SET
public org.antlr.v4.runtime.tree.TerminalNode SET()
-
formalParameterList
public Dart2Parser.FormalParameterListContext formalParameterList()
-
staticFinalDeclarationList
public Dart2Parser.StaticFinalDeclarationListContext staticFinalDeclarationList()
-
type
public Dart2Parser.TypeContext type()
-
variableDeclaration
public Dart2Parser.VariableDeclarationContext variableDeclaration()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndex
in classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
-