public static class JavaParser.PrimaryContext
extends org.antlr.v4.runtime.ParserRuleContext
Constructor and Description |
---|
PrimaryContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) |
JavaParser.ArgumentsContext |
arguments() |
org.antlr.v4.runtime.tree.TerminalNode |
CLASS() |
org.antlr.v4.runtime.tree.TerminalNode |
DOT() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
JavaParser.ExplicitGenericInvocationSuffixContext |
explicitGenericInvocationSuffix() |
JavaParser.ExpressionContext |
expression() |
int |
getRuleIndex() |
org.antlr.v4.runtime.tree.TerminalNode |
IDENTIFIER() |
JavaParser.LiteralContext |
literal() |
org.antlr.v4.runtime.tree.TerminalNode |
LPAREN() |
JavaParser.NonWildcardTypeArgumentsContext |
nonWildcardTypeArguments() |
org.antlr.v4.runtime.tree.TerminalNode |
RPAREN() |
org.antlr.v4.runtime.tree.TerminalNode |
SUPER() |
org.antlr.v4.runtime.tree.TerminalNode |
THIS() |
JavaParser.TypeTypeOrVoidContext |
typeTypeOrVoid() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
public PrimaryContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public org.antlr.v4.runtime.tree.TerminalNode LPAREN()
public JavaParser.ExpressionContext expression()
public org.antlr.v4.runtime.tree.TerminalNode RPAREN()
public org.antlr.v4.runtime.tree.TerminalNode THIS()
public org.antlr.v4.runtime.tree.TerminalNode SUPER()
public JavaParser.LiteralContext literal()
public org.antlr.v4.runtime.tree.TerminalNode IDENTIFIER()
public JavaParser.TypeTypeOrVoidContext typeTypeOrVoid()
public org.antlr.v4.runtime.tree.TerminalNode DOT()
public org.antlr.v4.runtime.tree.TerminalNode CLASS()
public JavaParser.NonWildcardTypeArgumentsContext nonWildcardTypeArguments()
public JavaParser.ExplicitGenericInvocationSuffixContext explicitGenericInvocationSuffix()
public JavaParser.ArgumentsContext arguments()
public int getRuleIndex()
getRuleIndex
in class org.antlr.v4.runtime.RuleContext
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
enterRule
in class org.antlr.v4.runtime.ParserRuleContext
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
exitRule
in class org.antlr.v4.runtime.ParserRuleContext
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
accept
in interface org.antlr.v4.runtime.tree.ParseTree
accept
in class org.antlr.v4.runtime.RuleContext
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.