当前位置: 首页>>代码示例>>Java>>正文


Java ASTVisitor.endVisit方法代码示例

本文整理汇总了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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:23,代码来源:ArrayTypeReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:14,代码来源:JavadocMessageSend.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:11,代码来源:SingleTypeReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:8,代码来源:CastExpression.java

示例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);
	}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:10,代码来源:JavadocFieldReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:LabeledStatement.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:9,代码来源:Wildcard.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:QualifiedThisReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:5,代码来源:QualifiedNameReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:5,代码来源:IntLiteral.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:5,代码来源:ContinueStatement.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:7,代码来源:CaseStatement.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:5,代码来源:SuperReference.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion-Juno38,代码行数:7,代码来源:FieldReference.java


注:本文中的org.eclipse.jdt.internal.compiler.ASTVisitor.endVisit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。