Package one.gfw.antlr4.js.typescript
Class TypeScriptParser.OptionalParameterContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- one.gfw.antlr4.js.typescript.TypeScriptParser.OptionalParameterContext
-
- 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:
- TypeScriptParser
public static class TypeScriptParser.OptionalParameterContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description OptionalParameterContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)TypeScriptParser.AccessibilityModifierContextaccessibilityModifier()TypeScriptParser.DecoratorListContextdecoratorList()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)intgetRuleIndex()TypeScriptParser.IdentifierOrPatternContextidentifierOrPattern()TypeScriptParser.InitializerContextinitializer()org.antlr.v4.runtime.tree.TerminalNodeQuestionMark()TypeScriptParser.TypeAnnotationContexttypeAnnotation()-
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
-
identifierOrPattern
public TypeScriptParser.IdentifierOrPatternContext identifierOrPattern()
-
decoratorList
public TypeScriptParser.DecoratorListContext decoratorList()
-
QuestionMark
public org.antlr.v4.runtime.tree.TerminalNode QuestionMark()
-
initializer
public TypeScriptParser.InitializerContext initializer()
-
accessibilityModifier
public TypeScriptParser.AccessibilityModifierContext accessibilityModifier()
-
typeAnnotation
public TypeScriptParser.TypeAnnotationContext typeAnnotation()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-
-