forked from JavaTX/JavaCompilerCore
66 lines
1.4 KiB
Java
Executable File
66 lines
1.4 KiB
Java
Executable File
// ino.module.WhileStmt.8659.package
|
|
package de.dhbwstuttgart.syntaxtree.statement;
|
|
// ino.end
|
|
// ino.module.WhileStmt.8659.import
|
|
|
|
|
|
// ino.class.WhileStmt.26326.declaration
|
|
public class WhileStmt extends Statement
|
|
// ino.end
|
|
// ino.class.WhileStmt.26326.body
|
|
{
|
|
// ino.method.WhileStmt.26330.definition
|
|
public WhileStmt(int offset, int variableLength)
|
|
// ino.end
|
|
// ino.method.WhileStmt.26330.body
|
|
{
|
|
super(null,variableLength);
|
|
}
|
|
// ino.end
|
|
|
|
// ino.attribute.expr.26333.declaration
|
|
public Expr expr;
|
|
// ino.end
|
|
// ino.attribute.loop_block.26336.declaration
|
|
public Statement loop_block;
|
|
// ino.end
|
|
|
|
|
|
// ino.method.set_Expr.26342.definition
|
|
public void set_Expr(Expr exp)
|
|
// ino.end
|
|
// ino.method.set_Expr.26342.body
|
|
{
|
|
this.expr = exp;
|
|
}
|
|
// ino.end
|
|
|
|
// ino.method.set_Loop_block.26345.definition
|
|
public void set_Loop_block(Statement blk)
|
|
// ino.end
|
|
// ino.method.set_Loop_block.26345.body
|
|
{
|
|
this.loop_block = blk;
|
|
}
|
|
// ino.end
|
|
|
|
|
|
// ino.method.toString.26360.defdescription type=javadoc
|
|
/**
|
|
* <br/>Author: Martin Pl�micke
|
|
* @return
|
|
*/
|
|
// ino.end
|
|
// ino.method.toString.26360.definition
|
|
public String toString()
|
|
// ino.end
|
|
// ino.method.toString.26360.body
|
|
{
|
|
return "WHILE " + loop_block.toString();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
// ino.end
|