public static class JavaParser.MemberDeclarationContext
extends org.antlr.v4.runtime.ParserRuleContext
Constructor and Description |
---|
MemberDeclarationContext(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.AnnotationTypeDeclarationContext |
annotationTypeDeclaration() |
JavaParser.ClassDeclarationContext |
classDeclaration() |
JavaParser.ConstructorDeclarationContext |
constructorDeclaration() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
JavaParser.EnumDeclarationContext |
enumDeclaration() |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
JavaParser.FieldDeclarationContext |
fieldDeclaration() |
JavaParser.GenericConstructorDeclarationContext |
genericConstructorDeclaration() |
JavaParser.GenericMethodDeclarationContext |
genericMethodDeclaration() |
int |
getRuleIndex() |
JavaParser.InterfaceDeclarationContext |
interfaceDeclaration() |
JavaParser.MethodDeclarationContext |
methodDeclaration() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
public MemberDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public JavaParser.MethodDeclarationContext methodDeclaration()
public JavaParser.GenericMethodDeclarationContext genericMethodDeclaration()
public JavaParser.FieldDeclarationContext fieldDeclaration()
public JavaParser.ConstructorDeclarationContext constructorDeclaration()
public JavaParser.GenericConstructorDeclarationContext genericConstructorDeclaration()
public JavaParser.InterfaceDeclarationContext interfaceDeclaration()
public JavaParser.AnnotationTypeDeclarationContext annotationTypeDeclaration()
public JavaParser.ClassDeclarationContext classDeclaration()
public JavaParser.EnumDeclarationContext enumDeclaration()
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.