Interface IVisitable<V extends IVisitable>
- Type Parameters:
V-
- All Known Implementing Classes:
Annotation,AnnotationMember,ArrayCreationExpression,ArrayRangeExpression,ArraySubscriptionExpression,ASMDeclarationStatement,AssertStatement,BinaryOperator,BreakStatement,CallExpression,CaseStatement,CastExpression,CatchClause,ClassTemplateDeclaration,CompoundStatement,CompoundStatementExpression,ConditionalExpression,ConstructorDeclaration,ContinueStatement,Declaration,DeclarationSequence,DeclarationStatement,DeclaredReferenceExpression,DefaultStatement,DeleteExpression,DesignatedInitializerExpression,DoStatement,EmptyStatement,EnumConstantDeclaration,EnumDeclaration,ExplicitConstructorInvocation,Expression,ExpressionList,FieldDeclaration,ForEachStatement,ForStatement,FunctionDeclaration,FunctionPointerType,FunctionTemplateDeclaration,GotoStatement,IfStatement,IncludeDeclaration,IncompleteType,InitializerListExpression,LabelStatement,Literal,MemberCallExpression,MemberExpression,MethodDeclaration,NamespaceDeclaration,NewExpression,de.fraunhofer.aisec.cpg.graph.Node,ObjectType,ParameterizedType,ParamVariableDeclaration,PointerType,ProblemDeclaration,RecordDeclaration,ReferenceType,ReturnStatement,Statement,StaticCallExpression,SwitchStatement,SynchronizedStatement,TemplateDeclaration,TranslationResult,TranslationUnitDeclaration,TryStatement,Type,TypedefDeclaration,TypeExpression,TypeIdExpression,TypeParamDeclaration,UnaryOperator,UninitializedValue,UnknownType,UsingDirective,ValueDeclaration,VariableDeclaration,WhileStatement
public interface IVisitable<V extends IVisitable>
An object that can be visited by a visitor.
-
Method Summary
-
Method Details
-
accept
- Parameters:
strategy- Traversal strategy.visitor- Instance of the visitor to call.
-