C
- type of visitor contextR
- type of visitor resultE
- type of visitor exceptionpublic abstract class Visitor<R,C,E extends Throwable> extends Object
Model
.
Each method in this implementation does nothing and always returns null
.Constructor and Description |
---|
Visitor() |
public R visitAlternateConstructorInvocation(AlternateConstructorInvocation elem, C context) throws E extends Throwable
AlternateConstructorInvocation
using this visitor.public R visitAnnotationDeclaration(AnnotationDeclaration elem, C context) throws E extends Throwable
AnnotationDeclaration
using this visitor.public R visitAnnotationElement(AnnotationElement elem, C context) throws E extends Throwable
AnnotationElement
using this visitor.public R visitAnnotationElementDeclaration(AnnotationElementDeclaration elem, C context) throws E extends Throwable
AnnotationElementDeclaration
using this visitor.public R visitArrayAccessExpression(ArrayAccessExpression elem, C context) throws E extends Throwable
ArrayAccessExpression
using this visitor.public R visitArrayCreationExpression(ArrayCreationExpression elem, C context) throws E extends Throwable
ArrayCreationExpression
using this visitor.public R visitArrayInitializer(ArrayInitializer elem, C context) throws E extends Throwable
ArrayInitializer
using this visitor.public R visitArrayType(ArrayType elem, C context) throws E extends Throwable
ArrayType
using this visitor.public R visitAssertStatement(AssertStatement elem, C context) throws E extends Throwable
AssertStatement
using this visitor.public R visitAssignmentExpression(AssignmentExpression elem, C context) throws E extends Throwable
AssignmentExpression
using this visitor.public R visitBasicType(BasicType elem, C context) throws E extends Throwable
BasicType
using this visitor.public R visitBlock(Block elem, C context) throws E extends Throwable
Block
using this visitor.public R visitBlockComment(BlockComment elem, C context) throws E extends Throwable
BlockComment
using this visitor.public R visitBreakStatement(BreakStatement elem, C context) throws E extends Throwable
BreakStatement
using this visitor.public R visitCastExpression(CastExpression elem, C context) throws E extends Throwable
CastExpression
using this visitor.public R visitCatchClause(CatchClause elem, C context) throws E extends Throwable
CatchClause
using this visitor.public R visitClassBody(ClassBody elem, C context) throws E extends Throwable
ClassBody
using this visitor.public R visitClassDeclaration(ClassDeclaration elem, C context) throws E extends Throwable
ClassDeclaration
using this visitor.public R visitClassInstanceCreationExpression(ClassInstanceCreationExpression elem, C context) throws E extends Throwable
ClassInstanceCreationExpression
using this visitor.public R visitClassLiteral(ClassLiteral elem, C context) throws E extends Throwable
ClassLiteral
using this visitor.public R visitCompilationUnit(CompilationUnit elem, C context) throws E extends Throwable
CompilationUnit
using this visitor.public R visitConditionalExpression(ConditionalExpression elem, C context) throws E extends Throwable
ConditionalExpression
using this visitor.public R visitConstructorDeclaration(ConstructorDeclaration elem, C context) throws E extends Throwable
ConstructorDeclaration
using this visitor.public R visitContinueStatement(ContinueStatement elem, C context) throws E extends Throwable
ContinueStatement
using this visitor.public R visitDoStatement(DoStatement elem, C context) throws E extends Throwable
DoStatement
using this visitor.public R visitDocBlock(DocBlock elem, C context) throws E extends Throwable
DocBlock
using this visitor.public R visitDocField(DocField elem, C context) throws E extends Throwable
DocField
using this visitor.public R visitDocMethod(DocMethod elem, C context) throws E extends Throwable
DocMethod
using this visitor.public R visitDocMethodParameter(DocMethodParameter elem, C context) throws E extends Throwable
DocMethodParameter
using this visitor.public R visitDocText(DocText elem, C context) throws E extends Throwable
DocText
using this visitor.public R visitEmptyStatement(EmptyStatement elem, C context) throws E extends Throwable
EmptyStatement
using this visitor.public R visitEnhancedForStatement(EnhancedForStatement elem, C context) throws E extends Throwable
EnhancedForStatement
using this visitor.public R visitEnumConstantDeclaration(EnumConstantDeclaration elem, C context) throws E extends Throwable
EnumConstantDeclaration
using this visitor.public R visitEnumDeclaration(EnumDeclaration elem, C context) throws E extends Throwable
EnumDeclaration
using this visitor.public R visitExpressionStatement(ExpressionStatement elem, C context) throws E extends Throwable
ExpressionStatement
using this visitor.public R visitFieldAccessExpression(FieldAccessExpression elem, C context) throws E extends Throwable
FieldAccessExpression
using this visitor.public R visitFieldDeclaration(FieldDeclaration elem, C context) throws E extends Throwable
FieldDeclaration
using this visitor.public R visitForStatement(ForStatement elem, C context) throws E extends Throwable
ForStatement
using this visitor.public R visitFormalParameterDeclaration(FormalParameterDeclaration elem, C context) throws E extends Throwable
FormalParameterDeclaration
using this visitor.public R visitIfStatement(IfStatement elem, C context) throws E extends Throwable
IfStatement
using this visitor.public R visitImportDeclaration(ImportDeclaration elem, C context) throws E extends Throwable
ImportDeclaration
using this visitor.public R visitInfixExpression(InfixExpression elem, C context) throws E extends Throwable
InfixExpression
using this visitor.public R visitInitializerDeclaration(InitializerDeclaration elem, C context) throws E extends Throwable
InitializerDeclaration
using this visitor.public R visitInstanceofExpression(InstanceofExpression elem, C context) throws E extends Throwable
InstanceofExpression
using this visitor.public R visitInterfaceDeclaration(InterfaceDeclaration elem, C context) throws E extends Throwable
InterfaceDeclaration
using this visitor.public R visitJavadoc(Javadoc elem, C context) throws E extends Throwable
Javadoc
using this visitor.public R visitLabeledStatement(LabeledStatement elem, C context) throws E extends Throwable
LabeledStatement
using this visitor.public R visitLambdaExpression(LambdaExpression elem, C context) throws E extends Throwable
LambdaExpression
using this visitor.public R visitLineComment(LineComment elem, C context) throws E extends Throwable
LineComment
using this visitor.public R visitLiteral(Literal elem, C context) throws E extends Throwable
Literal
using this visitor.public R visitLocalClassDeclaration(LocalClassDeclaration elem, C context) throws E extends Throwable
LocalClassDeclaration
using this visitor.public R visitLocalVariableDeclaration(LocalVariableDeclaration elem, C context) throws E extends Throwable
LocalVariableDeclaration
using this visitor.public R visitMarkerAnnotation(MarkerAnnotation elem, C context) throws E extends Throwable
MarkerAnnotation
using this visitor.public R visitMethodDeclaration(MethodDeclaration elem, C context) throws E extends Throwable
MethodDeclaration
using this visitor.public R visitMethodInvocationExpression(MethodInvocationExpression elem, C context) throws E extends Throwable
MethodInvocationExpression
using this visitor.public R visitConstructorReferenceExpression(ConstructorReferenceExpression elem, C context) throws E extends Throwable
ConstructorReferenceExpression
using this visitor.public R visitMethodReferenceExpression(MethodReferenceExpression elem, C context) throws E extends Throwable
MethodReferenceExpression
using this visitor.public R visitModifier(Modifier elem, C context) throws E extends Throwable
Modifier
using this visitor.public R visitNamedType(NamedType elem, C context) throws E extends Throwable
NamedType
using this visitor.public R visitNormalAnnotation(NormalAnnotation elem, C context) throws E extends Throwable
NormalAnnotation
using this visitor.public R visitPackageDeclaration(PackageDeclaration elem, C context) throws E extends Throwable
PackageDeclaration
using this visitor.public R visitParameterizedType(ParameterizedType elem, C context) throws E extends Throwable
ParameterizedType
using this visitor.public R visitParenthesizedExpression(ParenthesizedExpression elem, C context) throws E extends Throwable
ParenthesizedExpression
using this visitor.public R visitPostfixExpression(PostfixExpression elem, C context) throws E extends Throwable
PostfixExpression
using this visitor.public R visitQualifiedName(QualifiedName elem, C context) throws E extends Throwable
QualifiedName
using this visitor.public R visitQualifiedType(QualifiedType elem, C context) throws E extends Throwable
QualifiedType
using this visitor.public R visitReturnStatement(ReturnStatement elem, C context) throws E extends Throwable
ReturnStatement
using this visitor.public R visitSimpleName(SimpleName elem, C context) throws E extends Throwable
SimpleName
using this visitor.public R visitSingleElementAnnotation(SingleElementAnnotation elem, C context) throws E extends Throwable
SingleElementAnnotation
using this visitor.public R visitStatementExpressionList(StatementExpressionList elem, C context) throws E extends Throwable
StatementExpressionList
using this visitor.public R visitSuper(Super elem, C context) throws E extends Throwable
Super
using this visitor.public R visitSuperConstructorInvocation(SuperConstructorInvocation elem, C context) throws E extends Throwable
SuperConstructorInvocation
using this visitor.public R visitSwitchCaseLabel(SwitchCaseLabel elem, C context) throws E extends Throwable
SwitchCaseLabel
using this visitor.public R visitSwitchDefaultLabel(SwitchDefaultLabel elem, C context) throws E extends Throwable
SwitchDefaultLabel
using this visitor.public R visitSwitchStatement(SwitchStatement elem, C context) throws E extends Throwable
SwitchStatement
using this visitor.public R visitSynchronizedStatement(SynchronizedStatement elem, C context) throws E extends Throwable
SynchronizedStatement
using this visitor.public R visitThis(This elem, C context) throws E extends Throwable
This
using this visitor.public R visitThrowStatement(ThrowStatement elem, C context) throws E extends Throwable
ThrowStatement
using this visitor.public R visitTryResource(TryResource elem, C context) throws E extends Throwable
TryResource
using this visitor.public R visitTryStatement(TryStatement elem, C context) throws E extends Throwable
TryStatement
using this visitor.public R visitTypeParameterDeclaration(TypeParameterDeclaration elem, C context) throws E extends Throwable
TypeParameterDeclaration
using this visitor.public R visitUnaryExpression(UnaryExpression elem, C context) throws E extends Throwable
UnaryExpression
using this visitor.public R visitUnionType(UnionType elem, C context) throws E extends Throwable
UnionType
using this visitor.public R visitVariableDeclarator(VariableDeclarator elem, C context) throws E extends Throwable
VariableDeclarator
using this visitor.public R visitWhileStatement(WhileStatement elem, C context) throws E extends Throwable
WhileStatement
using this visitor.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.