Java 类org.eclipse.jdt.internal.compiler.ast.ContinueStatement 实例源码

项目:Eclipse-Postfix-Code-Completion    文件:CodeFormatterVisitor.java   
/**
 * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.ContinueStatement, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
 */
public boolean visit(ContinueStatement continueStatement, BlockScope scope) {

    this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
    if (continueStatement.label != null) {
        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
    }
    this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
    this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT);
    return false;
}
项目:Eclipse-Postfix-Code-Completion    文件:Parser.java   
protected void consumeStatementContinue() {
    // ContinueStatement ::= 'continue' ';'
    // continue pushs a position on this.intStack in case there is no label

    pushOnAstStack(
        new ContinueStatement(
            null,
            this.intStack[this.intPtr--],
            this.endStatementPosition));
}
项目:Eclipse-Postfix-Code-Completion    文件:Parser.java   
protected void consumeStatementContinueWithLabel() {
    // ContinueStatement ::= 'continue' Identifier ';'
    // continue pushs a position on this.intStack in case there is no label

    pushOnAstStack(
        new ContinueStatement(
            this.identifierStack[this.identifierPtr--],
            this.intStack[this.intPtr--],
            this.endStatementPosition));
    this.identifierLengthPtr--;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:CodeFormatterVisitor.java   
/**
 * @see org.eclipse.jdt.internal.compiler.ASTVisitor#visit(org.eclipse.jdt.internal.compiler.ast.ContinueStatement, org.eclipse.jdt.internal.compiler.lookup.BlockScope)
 */
public boolean visit(ContinueStatement continueStatement, BlockScope scope) {

    this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
    if (continueStatement.label != null) {
        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
    }
    this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
    this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT);
    return false;
}
项目:xapi    文件:GwtAstBuilder.java   
@Override
public void endVisit(ContinueStatement x, BlockScope scope) {
  try {
    SourceInfo info = makeSourceInfo(x);
    push(new JContinueStatement(info, getOrCreateLabel(info, x.label)));
  } catch (Throwable e) {
    throw translateException(x, e);
  }
}
项目:lombok-ianchiu    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(ContinueStatement node, BlockScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:EasyMPermission    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(ContinueStatement node, BlockScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:lombok    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(ContinueStatement node, BlockScope scope) {
    setGeneratedBy(node, source);
    applyOffsetASTNode(node);
    return super.visit(node, scope);
}