本文整理了Java中org.eclipse.jdt.internal.compiler.parser.Parser.getFirstToken()
方法的一些代码示例,展示了Parser.getFirstToken()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser.getFirstToken()
方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.parser.Parser
类名称:Parser
方法名:getFirstToken
暂无
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
if (getFirstToken() == TokenNameAND) {
if (this.referenceContext instanceof CompilationUnitDeclaration) {
TypeDeclaration typeDeclaration = new TypeDeclaration(this.referenceContext.compilationResult());
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
int oldFirstToken = getFirstToken();
this.hasError = false;
int act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
ProcessTerminals : for (;;) {
int stackLength = this.stack.length;
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
int oldFirstToken = getFirstToken();
this.hasError = false;
int act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
ProcessTerminals : for (;;) {
int stackLength = this.stack.length;
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
int oldFirstToken = getFirstToken();
this.hasError = false;
int act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
ProcessTerminals : for (;;) {
int stackLength = this.stack.length;
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
int oldFirstToken = getFirstToken();
this.hasError = false;
this.unstackedAct = ERROR_ACTION;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
act = START_STATE;
this.stateStackTop = -1;
this.currentToken = getFirstToken();
continue ProcessTerminals;
case RESUME:
内容来源于网络,如有侵权,请联系作者删除!