function.java

来自「基于c0文法写的生成p-code的编译器」· Java 代码 · 共 39 行

JAVA
39
字号
import java.util.LinkedList;/* * To change this template, choose Tools | Templates * and open the template in the editor. */import java.util.TreeMap;import java.util.Vector;/** * * @author lilac */public class Function {    public static final int R_VOID=0;    public static final int R_INT=1;    public String name;    public Vector<String> para=null;    public Vector<String> var=null;    public LinkedList<Four> fourlist=null;    public Vector<Constpair> con=null;    public int retype;    public TreeMap<String,Integer> pmap=null;         public TreeMap<String,Integer> vmap=null;         public Function(String name, int retype){        this.name=name;        this.retype=retype;        this.fourlist=new LinkedList<Four>();        this.con=new Vector<Constpair>();        this.para=new Vector<String>();        this.var=new Vector<String>();        this.pmap=new TreeMap<String,Integer>();        this.vmap=new TreeMap<String,Integer>();    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?