本文整理汇总了Java中org.eclipse.jdt.internal.compiler.ASTVisitor.endVisit方法的典型用法代码示例。如果您正苦于以下问题:Java ASTVisitor.endVisit方法的具体用法?Java ASTVisitor.endVisit怎么用?Java ASTVisitor.endVisit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.jdt.internal.compiler.ASTVisitor
的用法示例。
在下文中一共展示了ASTVisitor.endVisit方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope scope) {
if (visitor.visit(this, scope)) {
if (this.annotations != null) {
Annotation [] typeAnnotations = this.annotations[0];
for (int i = 0, length = typeAnnotations == null ? 0 : typeAnnotations.length; i < length; i++) {
typeAnnotations[i].traverse(visitor, scope);
}
}
if (this.annotationsOnDimensions != null) {
for (int i = 0, max = this.annotationsOnDimensions.length; i < max; i++) {
Annotation[] annotations2 = this.annotationsOnDimensions[i];
if (annotations2 != null) {
for (int j = 0, max2 = annotations2.length; j < max2; j++) {
Annotation annotation = annotations2[j];
annotation.traverse(visitor, scope);
}
}
}
}
}
visitor.endVisit(this, scope);
}
示例2: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope scope) {
if (visitor.visit(this, scope)) {
int length = this.typeReferences == null ? 0 : this.typeReferences.length;
for (int i = 0; i < length; i++) {
this.typeReferences[i].traverse(visitor, scope);
}
}
visitor.endVisit(this, scope);
}
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:IntersectionCastTypeReference.java
示例3: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope blockScope) {
if (visitor.visit(this, blockScope)) {
if (this.receiver != null) {
this.receiver.traverse(visitor, blockScope);
}
if (this.arguments != null) {
int argumentsLength = this.arguments.length;
for (int i = 0; i < argumentsLength; i++)
this.arguments[i].traverse(visitor, blockScope);
}
}
visitor.endVisit(this, blockScope);
}
示例4: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope scope) {
if (visitor.visit(this, scope)) {
if (this.annotations != null) {
Annotation [] typeAnnotations = this.annotations[0];
for (int i = 0, length = typeAnnotations == null ? 0 : typeAnnotations.length; i < length; i++)
typeAnnotations[i].traverse(visitor, scope);
}
}
visitor.endVisit(this, scope);
}
示例5: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope blockScope) {
if (visitor.visit(this, blockScope)) {
this.type.traverse(visitor, blockScope);
this.expression.traverse(visitor, blockScope);
}
visitor.endVisit(this, blockScope);
}
示例6: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, ClassScope scope) {
if (visitor.visit(this, scope)) {
if (this.receiver != null) {
this.receiver.traverse(visitor, scope);
}
}
visitor.endVisit(this, scope);
}
示例7: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(
ASTVisitor visitor,
BlockScope blockScope) {
if (visitor.visit(this, blockScope)) {
if (this.statement != null) this.statement.traverse(visitor, blockScope);
}
visitor.endVisit(this, blockScope);
}
示例8: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, ClassScope scope) {
if (visitor.visit(this, scope)) {
if (this.bound != null) {
this.bound.traverse(visitor, scope);
}
}
visitor.endVisit(this, scope);
}
示例9: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(
ASTVisitor visitor,
ClassScope blockScope) {
if (visitor.visit(this, blockScope)) {
this.qualification.traverse(visitor, blockScope);
}
visitor.endVisit(this, blockScope);
}
示例10: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, ClassScope scope) {
visitor.visit(this, scope);
visitor.endVisit(this, scope);
}
示例11: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope scope) {
visitor.visit(this, scope);
visitor.endVisit(this, scope);
}
示例12: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope blockScope) {
visitor.visit(this, blockScope);
visitor.endVisit(this, blockScope);
}
示例13: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope blockScope) {
if (visitor.visit(this, blockScope)) {
if (this.constantExpression != null) this.constantExpression.traverse(visitor, blockScope);
}
visitor.endVisit(this, blockScope);
}
示例14: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope blockScope) {
visitor.visit(this, blockScope);
visitor.endVisit(this, blockScope);
}
示例15: traverse
import org.eclipse.jdt.internal.compiler.ASTVisitor; //导入方法依赖的package包/类
public void traverse(ASTVisitor visitor, BlockScope scope) {
if (visitor.visit(this, scope)) {
this.receiver.traverse(visitor, scope);
}
visitor.endVisit(this, scope);
}