Home
last modified time | relevance | path

Searched refs:Visitable (Results 1 – 19 of 19) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DObjectIdentityEqualsVisitor.java38 public class ObjectIdentityEqualsVisitor implements GenericVisitor<Boolean, Visitable> {
47 public Boolean visit(final CompilationUnit n, final Visitable arg) { in visit()
52 public Boolean visit(final PackageDeclaration n, final Visitable arg) { in visit()
57 public Boolean visit(final TypeParameter n, final Visitable arg) { in visit()
62 public Boolean visit(final LineComment n, final Visitable arg) { in visit()
67 public Boolean visit(final BlockComment n, final Visitable arg) { in visit()
72 public Boolean visit(final ClassOrInterfaceDeclaration n, final Visitable arg) { in visit()
77 public Boolean visit(final EnumDeclaration n, final Visitable arg) { in visit()
82 public Boolean visit(final EnumConstantDeclaration n, final Visitable arg) { in visit()
87 public Boolean visit(final AnnotationDeclaration n, final Visitable arg) { in visit()
[all …]
DNoCommentEqualsVisitor.java34 public class NoCommentEqualsVisitor implements GenericVisitor<Boolean, Visitable> {
92 public Boolean visit(final CompilationUnit n, final Visitable arg) { in visit()
106 public Boolean visit(final PackageDeclaration n, final Visitable arg) { in visit()
116 public Boolean visit(final TypeParameter n, final Visitable arg) { in visit()
128 public Boolean visit(final LineComment n, final Visitable arg) { in visit()
133 public Boolean visit(final BlockComment n, final Visitable arg) { in visit()
138 public Boolean visit(final ClassOrInterfaceDeclaration n, final Visitable arg) { in visit()
160 public Boolean visit(final EnumDeclaration n, final Visitable arg) { in visit()
178 public Boolean visit(final EnumConstantDeclaration n, final Visitable arg) { in visit()
192 public Boolean visit(final AnnotationDeclaration n, final Visitable arg) { in visit()
[all …]
DEqualsVisitor.java40 public class EqualsVisitor implements GenericVisitor<Boolean, Visitable> {
133 public Boolean visit(final CompilationUnit n, final Visitable arg) { in visit()
149 public Boolean visit(final PackageDeclaration n, final Visitable arg) { in visit()
161 public Boolean visit(final TypeParameter n, final Visitable arg) { in visit()
175 public Boolean visit(final LineComment n, final Visitable arg) { in visit()
185 public Boolean visit(final BlockComment n, final Visitable arg) { in visit()
195 public Boolean visit(final ClassOrInterfaceDeclaration n, final Visitable arg) { in visit()
219 public Boolean visit(final EnumDeclaration n, final Visitable arg) { in visit()
239 public Boolean visit(final EnumConstantDeclaration n, final Visitable arg) { in visit()
255 public Boolean visit(final AnnotationDeclaration n, final Visitable arg) { in visit()
[all …]
DModifierVisitor.java51 public class ModifierVisitor<A> implements GenericVisitor<Visitable, A> {
54 public Visitable visit(final AnnotationDeclaration n, final A arg) { in visit()
71 public Visitable visit(final AnnotationMemberDeclaration n, final A arg) { in visit()
90 public Visitable visit(final ArrayAccessExpr n, final A arg) { in visit()
103 public Visitable visit(final ArrayCreationExpr n, final A arg) { in visit()
118 public Visitable visit(final ArrayInitializerExpr n, final A arg) { in visit()
127 public Visitable visit(final AssertStmt n, final A arg) { in visit()
140 public Visitable visit(final AssignExpr n, final A arg) { in visit()
153 public Visitable visit(final BinaryExpr n, final A arg) { in visit()
168 public Visitable visit(final BlockStmt n, final A arg) { in visit()
[all …]
DCloneVisitor.java38 public class CloneVisitor implements GenericVisitor<Visitable, Object> {
42 public Visitable visit(final CompilationUnit n, final Object arg) { in visit()
58 public Visitable visit(final PackageDeclaration n, final Object arg) { in visit()
70 public Visitable visit(final TypeParameter n, final Object arg) { in visit()
83 public Visitable visit(final LineComment n, final Object arg) { in visit()
93 public Visitable visit(final BlockComment n, final Object arg) { in visit()
103 public Visitable visit(final ClassOrInterfaceDeclaration n, final Object arg) { in visit()
120 public Visitable visit(final EnumDeclaration n, final Object arg) { in visit()
136 public Visitable visit(final EnumConstantDeclaration n, final Object arg) { in visit()
150 public Visitable visit(final AnnotationDeclaration n, final Object arg) { in visit()
[all …]
DVisitable.java24 public interface Visitable { interface
DNoCommentHashCodeVisitor.java264 result += 31 * ((Visitable) node).accept(this, arg); in visit()
DHashCodeVisitor.java272 result += 31 * ((Visitable) node).accept(this, arg); in visit()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DModifierVisitorTest.java52 public Visitable visit(final StringLiteralExpr n, final Void arg) { in makeSureParentListsCanBeModified()
81 Visitable result = expression.accept(new ModifierVisitor<Void>() { in binaryExprReturnsLeftExpressionWhenRightSideIsRemoved()
82 public Visitable visit(IntegerLiteralExpr integerLiteralExpr, Void arg) { in binaryExprReturnsLeftExpressionWhenRightSideIsRemoved()
95 final Visitable result = expression.accept(new ModifierVisitor<Void>() { in binaryExprReturnsRightExpressionWhenLeftSideIsRemoved()
96 public Visitable visit(IntegerLiteralExpr integerLiteralExpr, Void arg) { in binaryExprReturnsRightExpressionWhenLeftSideIsRemoved()
110 final Visitable result = bodyDeclaration.accept(new ModifierVisitor<Void>() { in fieldDeclarationCantSurviveWithoutVariables()
111 public Visitable visit(VariableDeclarator x, Void arg) { in fieldDeclarationCantSurviveWithoutVariables()
123 final Visitable result = bodyDeclaration.accept(new ModifierVisitor<Void>() { in variableDeclarationCantSurviveWithoutVariables()
124 public Visitable visit(VariableDeclarator x, Void arg) { in variableDeclarationCantSurviveWithoutVariables()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DVisitorMap.java5 import com.github.javaparser.ast.visitor.Visitable;
21 private final GenericVisitor<Boolean, Visitable> equalsVisitor;
26 …(GenericVisitor<Integer, Void> hashcodeVisitor, GenericVisitor<Boolean, Visitable> equalsVisitor) { in VisitorMap()
61 private class EqualsHashcodeOverridingFacade implements Visitable {
DVisitorSet.java32 import com.github.javaparser.ast.visitor.Visitable;
43 private final GenericVisitor<Boolean, Visitable> equalsVisitor;
48 …(GenericVisitor<Integer, Void> hashcodeVisitor, GenericVisitor<Boolean, Visitable> equalsVisitor) { in VisitorSet()
160 private class EqualsHashcodeOverridingFacade implements Visitable {
DVisitorList.java33 import com.github.javaparser.ast.visitor.Visitable;
44 protected final GenericVisitor<Boolean, Visitable> equalsVisitor;
50 GenericVisitor<Boolean, Visitable> equalsVisitor) { in VisitorList()
273 private class EqualsHashcodeOverridingFacade implements Visitable {
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNodeList.java28 import com.github.javaparser.ast.visitor.Visitable;
47 … extends Node> implements List<N>, Iterable<N>, HasParentNode<NodeList<N>>, Visitable, Observable {
DNode.java37 import com.github.javaparser.ast.visitor.Visitable;
101 public abstract class Node implements Cloneable, HasParentNode<Node>, Visitable, NodeWithRange<Node…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor_J9.txt16 …Name().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
27 …rget().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
33 …Left().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
44 …Expr().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
46 …nner().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
145 …sion().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
147 …sion().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
Dcom_github_javaparser_symbolsolver_javaparsermodel_TypeExtractor.txt16 …Name().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
27 …rget().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
33 …Left().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
44 …Expr().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
46 …nner().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
145 …sion().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
147 …sion().accept(this, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt171 …cept(typeExtractor, solveLambdas) ==> com.github.javaparser.ast.visitor.Visitable.accept(com.githu…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java35 import com.github.javaparser.ast.visitor.Visitable;
167 …private void printPrePostFixOptionalList(final NodeList<? extends Visitable> args, final Void arg,… in printPrePostFixOptionalList()
170 for (final Iterator<? extends Visitable> i = args.iterator(); i.hasNext(); ) { in printPrePostFixOptionalList()
171 final Visitable v = i.next(); in printPrePostFixOptionalList()
181 …private void printPrePostFixRequiredList(final NodeList<? extends Visitable> args, final Void arg,… in printPrePostFixRequiredList()
184 for (final Iterator<? extends Visitable> i = args.iterator(); i.hasNext(); ) { in printPrePostFixRequiredList()
185 final Visitable v = i.next(); in printPrePostFixRequiredList()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java32 import com.github.javaparser.ast.visitor.Visitable;
1072 public Visitable visit(MethodCallExpr n, Void arg) { in visit()
1095 public Visitable visit(MethodCallExpr n, Void arg) { in visit()