home *** CD-ROM | disk | FTP | other *** search
- package espresso;
-
- class Sequence extends AST {
- Label retLab = null;
- Block body;
-
- void print(int var1) {
- System.out.print("seq ");
- this.body.print(var1);
- }
-
- Item gen() {
- this.body.genLoad();
- Gen.resolve(this.retLab);
- return Item.stackItem;
- }
-
- AST simplify() {
- this.body = (Block)this.body.simplify();
- return this;
- }
-
- void markCaptured(Bits var1) {
- this.body.markCaptured(var1);
- }
-
- Typ attr(Env var1, int var2, Typ var3) {
- super.typ = this.body.attr(new Env(var1, this), var2, var3);
- return super.typ;
- }
-
- boolean isExpr() {
- return true;
- }
-
- Sequence(int var1, Block var2) {
- super(var1, 15);
- this.body = var2;
- }
- }
-