
javacc.parser.ast.stmt.WhileStmt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of applinker Show documentation
Show all versions of applinker Show documentation
An utility to upload APIs of Java files to the specification
The newest version!
/*
* Created on 07/11/2006
*/
package javacc.parser.ast.stmt;
import javacc.parser.ast.expr.Expression;
import javacc.parser.ast.visitor.GenericVisitor;
import javacc.parser.ast.visitor.VoidVisitor;
/**
* @author Julio Vilmar Gesser
*/
public final class WhileStmt extends Statement {
public final Expression condition;
public final Statement body;
public WhileStmt(Expression condition, Statement body) {
this.condition = condition;
this.body = body;
}
@Override
public void accept(VoidVisitor v, A arg) {
v.visit(this, arg);
}
@Override
public R accept(GenericVisitor v, A arg) {
return v.visit(this, arg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy