Class Dart2Parser.LibraryDefinitionContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- net.sourceforge.pmd.lang.dart.antlr4.Dart2Parser.LibraryDefinitionContext
-
- 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.LibraryDefinitionContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description LibraryDefinitionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
int
getRuleIndex()
List<Dart2Parser.ImportOrExportContext>
importOrExport()
Dart2Parser.ImportOrExportContext
importOrExport(int i)
Dart2Parser.LibraryNameContext
libraryName()
List<Dart2Parser.PartDirectiveContext>
partDirective()
Dart2Parser.PartDirectiveContext
partDirective(int i)
Dart2Parser.ScriptTagContext
scriptTag()
List<Dart2Parser.TopLevelDefinitionContext>
topLevelDefinition()
Dart2Parser.TopLevelDefinitionContext
topLevelDefinition(int i)
-
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
-
scriptTag
public Dart2Parser.ScriptTagContext scriptTag()
-
libraryName
public Dart2Parser.LibraryNameContext libraryName()
-
importOrExport
public List<Dart2Parser.ImportOrExportContext> importOrExport()
-
importOrExport
public Dart2Parser.ImportOrExportContext importOrExport(int i)
-
partDirective
public List<Dart2Parser.PartDirectiveContext> partDirective()
-
partDirective
public Dart2Parser.PartDirectiveContext partDirective(int i)
-
topLevelDefinition
public List<Dart2Parser.TopLevelDefinitionContext> topLevelDefinition()
-
topLevelDefinition
public Dart2Parser.TopLevelDefinitionContext topLevelDefinition(int i)
-
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
-
-