Package one.gfw.antlr4.js.typescript
Class TypeScriptParser.UnionContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- one.gfw.antlr4.js.typescript.TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext
-
- one.gfw.antlr4.js.typescript.TypeScriptParser.UnionContext
-
- 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.UnionContext extends TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext
-
-
Constructor Summary
Constructors Constructor Description UnionContext(TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext 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.TerminalNodeBitOr()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)List<TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext>unionOrIntersectionOrPrimaryType()TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContextunionOrIntersectionOrPrimaryType(int i)-
Methods inherited from class one.gfw.antlr4.js.typescript.TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext
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
-
UnionContext
public UnionContext(TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext ctx)
-
-
Method Detail
-
unionOrIntersectionOrPrimaryType
public List<TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext> unionOrIntersectionOrPrimaryType()
-
unionOrIntersectionOrPrimaryType
public TypeScriptParser.UnionOrIntersectionOrPrimaryTypeContext unionOrIntersectionOrPrimaryType(int i)
-
BitOr
public org.antlr.v4.runtime.tree.TerminalNode BitOr()
-
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
-
-