// Path: src/stone/ast/BlockStmnt.java
// public class BlockStmnt extends ASTList {
//     public BlockStmnt(List<ASTree> c) { super(c); }
// }
// 
// Path: src/stone/ast/ParameterList.java
// public class ParameterList extends ASTList {
//     public ParameterList(List<ASTree> c) { super(c); }
//     public String name(int i) { return ((ASTLeaf)child(i)).token().getText(); }
//     public int size() { return numChildren(); }
// }
// 
// Path: src/chap6/Environment.java
// public interface Environment {
//     void put(String name, Object value);
//     Object get(String name);
// }
// 
// Path: src/chap7/Function.java
// public class Function {
//     protected ParameterList parameters;
//     protected BlockStmnt body;
//     protected Environment env;
//     public Function(ParameterList parameters, BlockStmnt body, Environment env) {
//         this.parameters = parameters;
//         this.body = body;
//         this.env = env;
//     }
//     public ParameterList parameters() { return parameters; }
//     public BlockStmnt body() { return body; }
//     public Environment makeEnv() { return new NestedEnv(env); }
//     @Override public String toString() { return "<fun:" + hashCode() + ">"; }
// }


import stone.ast.BlockStmnt;
import stone.ast.ParameterList;
import chap6.Environment;
import chap7.Function;
package chap13;

public class VmFunction extends Function {
    protected int entry;
    public VmFunction(ParameterList parameters, BlockStmnt body,
                      Environment env, int entry)
    {
        super(parameters, body, env);
// Path: src/stone/ast/BlockStmnt.java
// public class BlockStmnt extends ASTList {
//     public BlockStmnt(List<ASTree> c) { super(c); }
// }
// 
// Path: src/stone/ast/ParameterList.java
// public class ParameterList extends ASTList {
//     public ParameterList(List<ASTree> c) { super(c); }
//     public String name(int i) { return ((ASTLeaf)child(i)).token().getText(); }
//     public int size() { return numChildren(); }
// }
// 
// Path: src/chap6/Environment.java
// public interface Environment {
//     void put(String name, Object value);
//     Object get(String name);
// }
// 
// Path: src/chap7/Function.java
// public class Function {
//     protected ParameterList parameters;
//     protected BlockStmnt body;
//     protected Environment env;
//     public Function(ParameterList parameters, BlockStmnt body, Environment env) {
//         this.parameters = parameters;
//         this.body = body;
//         this.env = env;
//     }
//     public ParameterList parameters() { return parameters; }
//     public BlockStmnt body() { return body; }
//     public Environment makeEnv() { return new NestedEnv(env); }
//     @Override public String toString() { return "<fun:" + hashCode() + ">"; }
// }


// Path: src/chap13/VmFunction.java
import stone.ast.BlockStmnt;
import stone.ast.ParameterList;
import chap6.Environment;
import chap7.Function;

package chap13;

public class VmFunction extends Function {
    protected int entry;
    public VmFunction(ParameterList parameters, BlockStmnt body,
                      Environment env, int entry)
    {
        super(parameters, body, env);
        this.entry = entry;