Package one.gfw.antlr4.js.typescript
Class TypeScriptParser.ParenthesizedPrimTypeContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- one.gfw.antlr4.js.typescript.TypeScriptParser.PrimaryTypeContext
-
- one.gfw.antlr4.js.typescript.TypeScriptParser.ParenthesizedPrimTypeContext
-
- 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.ParenthesizedPrimTypeContext extends TypeScriptParser.PrimaryTypeContext
-
-
Constructor Summary
Constructors Constructor Description ParenthesizedPrimTypeContext(TypeScriptParser.PrimaryTypeContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)org.antlr.v4.runtime.tree.TerminalNodeCloseParen()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)org.antlr.v4.runtime.tree.TerminalNodeOpenParen()TypeScriptParser.Type_Contexttype_()-
Methods inherited from class one.gfw.antlr4.js.typescript.TypeScriptParser.PrimaryTypeContext
copyFrom, getRuleIndex
-
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
-
-
-
-
Constructor Detail
-
ParenthesizedPrimTypeContext
public ParenthesizedPrimTypeContext(TypeScriptParser.PrimaryTypeContext ctx)
-
-
Method Detail
-
OpenParen
public org.antlr.v4.runtime.tree.TerminalNode OpenParen()
-
type_
public TypeScriptParser.Type_Context type_()
-
CloseParen
public org.antlr.v4.runtime.tree.TerminalNode CloseParen()
-
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
-
-