JavaPatternMatching/src/de/dhbwstuttgart/syntaxtree/statement/WhileStmt.java

66 lines
1.4 KiB
Java
Raw Normal View History

2013-10-18 11:33:46 +00:00
// ino.module.WhileStmt.8659.package
2014-09-02 08:33:54 +00:00
package de.dhbwstuttgart.syntaxtree.statement;
2013-10-18 11:33:46 +00:00
// ino.end
2016-12-21 14:46:28 +00:00
// ino.module.WhileStmt.8659.import
2013-10-18 11:33:46 +00:00
2016-12-21 14:46:28 +00:00
// ino.class.WhileStmt.26326.declaration
2013-10-18 11:33:46 +00:00
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);
2013-10-18 11:33:46 +00:00
}
// ino.end
// ino.attribute.expr.26333.declaration
public Expr expr;
// ino.end
// ino.attribute.loop_block.26336.declaration
public Statement loop_block;
// ino.end
2013-10-18 11:33:46 +00:00
// 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
2013-10-18 11:33:46 +00:00
* @return
*/
// ino.end
// ino.method.toString.26360.definition
public String toString()
// ino.end
// ino.method.toString.26360.body
{
return "WHILE " + loop_block.toString();
}
2014-02-22 03:58:49 +00:00
2013-10-18 11:33:46 +00:00
}
// ino.end