Class JavaLanguageParser.AnnotationTypeContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.AnnotationTypeElementRestContext
-
- com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.AnnotationTypeContext
-
- 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:
- JavaLanguageParser
public static class JavaLanguageParser.AnnotationTypeContext extends JavaLanguageParser.AnnotationTypeElementRestContext
-
-
Field Summary
Fields Modifier and Type Field Description JavaLanguageParser.TypeTypeContext
type
-
Fields inherited from class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.AnnotationTypeElementRestContext
mods
-
-
Constructor Summary
Constructors Constructor Description AnnotationTypeContext(JavaLanguageParser.AnnotationTypeElementRestContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
JavaLanguageParser.AnnotationTypeDeclarationContext
annotationTypeDeclaration()
JavaLanguageParser.ClassDeclarationContext
classDeclaration()
JavaLanguageParser.EnumDeclarationContext
enumDeclaration()
JavaLanguageParser.InterfaceDeclarationContext
interfaceDeclaration()
JavaLanguageParser.RecordDeclarationContext
recordDeclaration()
org.antlr.v4.runtime.tree.TerminalNode
SEMI()
JavaLanguageParser.TypeTypeContext
typeType()
-
Methods inherited from class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.AnnotationTypeElementRestContext
copyFrom, getRuleIndex
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
type
public JavaLanguageParser.TypeTypeContext type
-
-
Constructor Detail
-
AnnotationTypeContext
public AnnotationTypeContext(JavaLanguageParser.AnnotationTypeElementRestContext ctx)
-
-
Method Detail
-
SEMI
public org.antlr.v4.runtime.tree.TerminalNode SEMI()
-
typeType
public JavaLanguageParser.TypeTypeContext typeType()
-
classDeclaration
public JavaLanguageParser.ClassDeclarationContext classDeclaration()
-
recordDeclaration
public JavaLanguageParser.RecordDeclarationContext recordDeclaration()
-
interfaceDeclaration
public JavaLanguageParser.InterfaceDeclarationContext interfaceDeclaration()
-
enumDeclaration
public JavaLanguageParser.EnumDeclarationContext enumDeclaration()
-
annotationTypeDeclaration
public JavaLanguageParser.AnnotationTypeDeclarationContext annotationTypeDeclaration()
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
accept
in interfaceorg.antlr.v4.runtime.tree.ParseTree
- Overrides:
accept
in classorg.antlr.v4.runtime.RuleContext
-
-