type.java

来自「中山大学编译原理课程的一个实验」· Java 代码 · 共 39 行

JAVA
39
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package symbols;/** * Used to indentify different terminals and non-terminals * @author Beeven */public class Type {    public final static int            Expr=300,            ArithExpr=301,            BoolExpr=302,            UnaryFunc=303,            VariablFunc=304,            ArithExprList=305;    public final static int         // used for looking up in the OPP table.            num = 0,            bool = 1,            addminus=2,            muldiv=3,            neg=4,            power=5,            func=6,            lp=7,            comma=8,            rp=9,            relation=10,            not=11,            and=12,            or=13,            qm=14,            colon=15,            dollar=16;}

⌨️ 快捷键说明

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