⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grm.java

📁 tiger编译器的Java实现
💻 JAVA
📖 第 1 页 / 共 5 页
字号:

//----------------------------------------------------
// The following code was generated by CUP v0.10k
// Sat Jan 05 14:04:40 CST 2008
//----------------------------------------------------

package Parse;

import Absyn.*;

/** CUP v0.10k generated parser.
  * @version Sat Jan 05 14:04:40 CST 2008
  */
public class Grm extends java_cup.runtime.lr_parser {

  /** Default constructor. */
  public Grm() {super();}

  /** Constructor which sets the default scanner. */
  public Grm(java_cup.runtime.Scanner s) {super(s);}

  /** Production table. */
  protected static final short _production_table[][] = 
    unpackFromStrings(new String[] {
    "\000\101\000\002\002\004\000\002\003\003\000\002\005" +
    "\002\000\002\005\004\000\002\006\003\000\002\006\003" +
    "\000\002\006\003\000\002\012\003\000\002\012\004\000" +
    "\002\007\006\000\002\014\003\000\002\014\005\000\002" +
    "\014\005\000\002\015\005\000\002\015\007\000\002\016" +
    "\005\000\002\013\003\000\002\013\004\000\002\011\011" +
    "\000\002\011\013\000\002\011\010\000\002\011\012\000" +
    "\002\010\006\000\002\010\010\000\002\004\003\000\002" +
    "\004\003\000\002\004\003\000\002\004\005\000\002\004" +
    "\005\000\002\004\005\000\002\004\005\000\002\004\005" +
    "\000\002\004\005\000\002\004\005\000\002\004\005\000" +
    "\002\004\005\000\002\004\005\000\002\004\005\000\002" +
    "\004\005\000\002\004\004\000\002\004\003\000\002\004" +
    "\005\000\002\004\006\000\002\004\005\000\002\004\005" +
    "\000\002\004\004\000\002\004\006\000\002\004\005\000" +
    "\002\004\010\000\002\004\006\000\002\004\012\000\002" +
    "\004\003\000\002\004\007\000\002\004\006\000\002\004" +
    "\010\000\002\021\003\000\002\021\005\000\002\017\003" +
    "\000\002\017\005\000\002\020\005\000\002\020\007\000" +
    "\002\022\003\000\002\022\006\000\002\022\005\000\002" +
    "\022\006" });

  /** Access to production table. */
  public short[][] production_table() {return _production_table;}

  /** Parse-action table. */
  protected static final short[][] _action_table = 
    unpackFromStrings(new String[] {
    "\000\221\000\030\007\017\017\004\034\013\037\005\040" +
    "\007\043\016\047\021\050\010\056\015\057\012\060\006" +
    "\001\002\000\030\007\017\017\004\034\013\037\005\040" +
    "\007\043\016\047\021\050\010\056\015\057\012\060\006" +
    "\001\002\000\030\007\017\017\004\034\013\037\005\040" +
    "\007\043\016\047\021\050\010\056\015\057\012\060\006" +
    "\001\002\000\070\002\uffe8\004\uffe8\006\uffe8\010\uffe8\012" +
    "\uffe8\014\uffe8\016\uffe8\017\uffe8\020\uffe8\021\uffe8\022\uffe8" +
    "\023\uffe8\024\uffe8\025\uffe8\026\uffe8\027\uffe8\030\uffe8\031" +
    "\uffe8\035\uffe8\036\uffe8\041\uffe8\042\uffe8\044\uffe8\045\uffe8" +
    "\051\uffe8\052\uffe8\053\uffe8\001\002\000\004\056\211\001" +
    "\002\000\070\002\uffe7\004\uffe7\006\uffe7\010\uffe7\012\uffe7" +
    "\014\uffe7\016\uffe7\017\uffe7\020\uffe7\021\uffe7\022\uffe7\023" +
    "\uffe7\024\uffe7\025\uffe7\026\uffe7\027\uffe7\030\uffe7\031\uffe7" +
    "\035\uffe7\036\uffe7\041\uffe7\042\uffe7\044\uffe7\045\uffe7\051" +
    "\uffe7\052\uffe7\053\uffe7\001\002\000\004\002\210\001\002" +
    "\000\070\002\uffe9\004\uffe9\006\uffe9\010\uffe9\012\uffe9\014" +
    "\uffe9\016\uffe9\017\uffe9\020\uffe9\021\uffe9\022\uffe9\023\uffe9" +
    "\024\uffe9\025\uffe9\026\uffe9\027\uffe9\030\uffe9\031\uffe9\035" +
    "\uffe9\036\uffe9\041\uffe9\042\uffe9\044\uffe9\045\uffe9\051\uffe9" +
    "\052\uffe9\053\uffe9\001\002\000\030\007\017\017\004\034" +
    "\013\037\005\040\007\043\016\047\021\050\010\056\015" +
    "\057\012\060\006\001\002\000\034\002\000\016\034\017" +
    "\027\020\040\021\031\022\035\023\033\024\041\025\036" +
    "\026\037\027\032\030\030\031\042\001\002\000\102\002" +
    "\uffc4\004\uffc4\006\uffc4\007\160\010\uffc4\011\157\012\uffc4" +
    "\013\156\014\uffc4\015\uffc4\016\uffc4\017\uffc4\020\uffc4\021" +
    "\uffc4\022\uffc4\023\uffc4\024\uffc4\025\uffc4\026\uffc4\027\uffc4" +
    "\030\uffc4\031\uffc4\032\uffc4\035\uffc4\036\uffc4\041\uffc4\042" +
    "\uffc4\044\uffc4\045\uffc4\051\uffc4\052\uffc4\053\uffc4\001\002" +
    "\000\012\044\uffff\051\077\052\071\053\074\001\002\000" +
    "\032\007\017\010\063\017\004\034\013\037\005\040\007" +
    "\043\016\047\021\050\010\056\015\057\012\060\006\001" +
    "\002\000\076\002\uffd9\004\uffd9\006\uffd9\010\uffd9\011\022" +
    "\012\uffd9\014\uffd9\015\024\016\uffd9\017\uffd9\020\uffd9\021" +
    "\uffd9\022\uffd9\023\uffd9\024\uffd9\025\uffd9\026\uffd9\027\uffd9" +
    "\030\uffd9\031\uffd9\032\023\035\uffd9\036\uffd9\041\uffd9\042" +
    "\uffd9\044\uffd9\045\uffd9\051\uffd9\052\uffd9\053\uffd9\001\002" +
    "\000\070\002\uffce\004\uffce\006\uffce\010\uffce\012\uffce\014" +
    "\uffce\016\uffce\017\uffce\020\uffce\021\uffce\022\uffce\023\uffce" +
    "\024\uffce\025\uffce\026\uffce\027\uffce\030\uffce\031\uffce\035" +
    "\uffce\036\uffce\041\uffce\042\uffce\044\uffce\045\uffce\051\uffce" +
    "\052\uffce\053\uffce\001\002\000\030\007\017\017\004\034" +
    "\013\037\005\040\007\043\016\047\021\050\010\056\015" +
    "\057\012\060\006\001\002\000\030\007\017\017\004\034" +
    "\013\037\005\040\007\043\016\047\021\050\010\056\015" +
    "\057\012\060\006\001\002\000\004\056\025\001\002\000" +
    "\076\002\uffc2\004\uffc2\006\uffc2\010\uffc2\011\uffc2\012\uffc2" +
    "\014\uffc2\015\uffc2\016\uffc2\017\uffc2\020\uffc2\021\uffc2\022" +
    "\uffc2\023\uffc2\024\uffc2\025\uffc2\026\uffc2\027\uffc2\030\uffc2" +
    "\031\uffc2\032\uffc2\035\uffc2\036\uffc2\041\uffc2\042\uffc2\044" +
    "\uffc2\045\uffc2\051\uffc2\052\uffc2\053\uffc2\001\002\000\070" +
    "\002\uffd8\004\uffd8\006\uffd8\010\uffd8\012\uffd8\014\uffd8\016" +
    "\034\017\027\020\040\021\031\022\035\023\033\024\041" +
    "\025\036\026\037\027\032\030\030\031\042\035\uffd8\036" +
    "\uffd8\041\uffd8\042\uffd8\044\uffd8\045\uffd8\051\uffd8\052\uffd8" +
    "\053\uffd8\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\030\007\017\017\004\034\013\037" +
    "\005\040\007\043\016\047\021\050\010\056\015\057\012" +
    "\060\006\001\002\000\070\002\uffe5\004\uffe5\006\uffe5\010" +
    "\uffe5\012\uffe5\014\uffe5\016\034\017\027\020\040\021\031" +
    "\022\035\023\033\024\041\025\036\026\037\027\032\030" +
    "\uffe5\031\uffe5\035\uffe5\036\uffe5\041\uffe5\042\uffe5\044\uffe5" +
    "\045\uffe5\051\uffe5\052\uffe5\053\uffe5\001\002\000\070\002" +
    "\uffdf\004\uffdf\006\uffdf\010\uffdf\012\uffdf\014\uffdf\016\034" +
    "\017\027\020\040\021\031\022\uffdf\023\uffdf\024\uffdf\025" +
    "\uffdf\026\uffdf\027\uffdf\030\uffdf\031\uffdf\035\uffdf\036\uffdf" +
    "\041\uffdf\042\uffdf\044\uffdf\045\uffdf\051\uffdf\052\uffdf\053" +
    "\uffdf\001\002\000\070\002\uffdc\004\uffdc\006\uffdc\010\uffdc" +
    "\012\uffdc\014\uffdc\016\uffdc\017\uffdc\020\uffdc\021\uffdc\022" +
    "\uffdc\023\uffdc\024\uffdc\025\uffdc\026\uffdc\027\uffdc\030\uffdc" +
    "\031\uffdc\035\uffdc\036\uffdc\041\uffdc\042\uffdc\044\uffdc\045" +
    "\uffdc\051\uffdc\052\uffdc\053\uffdc\001\002\000\070\002\uffe1" +
    "\004\uffe1\006\uffe1\010\uffe1\012\uffe1\014\uffe1\016\034\017" +
    "\027\020\040\021\031\022\uffe1\023\uffe1\024\uffe1\025\uffe1" +
    "\026\uffe1\027\uffe1\030\uffe1\031\uffe1\035\uffe1\036\uffe1\041" +
    "\uffe1\042\uffe1\044\uffe1\045\uffe1\051\uffe1\052\uffe1\053\uffe1" +
    "\001\002\000\070\002\uffe0\004\uffe0\006\uffe0\010\uffe0\012" +
    "\uffe0\014\uffe0\016\034\017\027\020\040\021\031\022\uffe0" +
    "\023\uffe0\024\uffe0\025\uffe0\026\uffe0\027\uffe0\030\uffe0\031" +
    "\uffe0\035\uffe0\036\uffe0\041\uffe0\042\uffe0\044\uffe0\045\uffe0" +
    "\051\uffe0\052\uffe0\053\uffe0\001\002\000\064\002\uffe3\004" +
    "\uffe3\006\uffe3\010\uffe3\012\uffe3\014\uffe3\016\034\017\027" +
    "\020\040\021\031\024\041\025\036\026\037\027\032\030" +
    "\uffe3\031\uffe3\035\uffe3\036\uffe3\041\uffe3\042\uffe3\044\uffe3" +
    "\045\uffe3\051\uffe3\052\uffe3\053\uffe3\001\002\000\070\002" +
    "\uffdd\004\uffdd\006\uffdd\010\uffdd\012\uffdd\014\uffdd\016\uffdd" +
    "\017\uffdd\020\040\021\031\022\uffdd\023\uffdd\024\uffdd\025" +
    "\uffdd\026\uffdd\027\uffdd\030\uffdd\031\uffdd\035\uffdd\036\uffdd" +
    "\041\uffdd\042\uffdd\044\uffdd\045\uffdd\051\uffdd\052\uffdd\053" +
    "\uffdd\001\002\000\064\002\uffe4\004\uffe4\006\uffe4\010\uffe4" +
    "\012\uffe4\014\uffe4\016\034\017\027\020\040\021\031\024" +
    "\041\025\036\026\037\027\032\030\uffe4\031\uffe4\035\uffe4" +
    "\036\uffe4\041\uffe4\042\uffe4\044\uffe4\045\uffe4\051\uffe4\052" +
    "\uffe4\053\uffe4\001\002\000\070\002\uffe2\004\uffe2\006\uffe2" +
    "\010\uffe2\012\uffe2\014\uffe2\016\034\017\027\020\040\021" +
    "\031\022\uffe2\023\uffe2\024\uffe2\025\uffe2\026\uffe2\027\uffe2" +
    "\030\uffe2\031\uffe2\035\uffe2\036\uffe2\041\uffe2\042\uffe2\044" +
    "\uffe2\045\uffe2\051\uffe2\052\uffe2\053\uffe2\001\002\000\070" +
    "\002\uffdb\004\uffdb\006\uffdb\010\uffdb\012\uffdb\014\uffdb\016" +
    "\uffdb\017\uffdb\020\uffdb\021\uffdb\022\uffdb\023\uffdb\024\uffdb" +
    "\025\uffdb\026\uffdb\027\uffdb\030\uffdb\031\uffdb\035\uffdb\036" +
    "\uffdb\041\uffdb\042\uffdb\044\uffdb\045\uffdb\051\uffdb\052\uffdb" +
    "\053\uffdb\001\002\000\070\002\uffe6\004\uffe6\006\uffe6\010" +
    "\uffe6\012\uffe6\014\uffe6\016\034\017\027\020\040\021\031" +
    "\022\035\023\033\024\041\025\036\026\037\027\032\030" +
    "\uffe6\031\uffe6\035\uffe6\036\uffe6\041\uffe6\042\uffe6\044\uffe6" +
    "\045\uffe6\051\uffe6\052\uffe6\053\uffe6\001\002\000\070\002" +
    "\uffde\004\uffde\006\uffde\010\uffde\012\uffde\014\uffde\016\uffde" +
    "\017\uffde\020\040\021\031\022\uffde\023\uffde\024\uffde\025" +
    "\uffde\026\uffde\027\uffde\030\uffde\031\uffde\035\uffde\036\uffde" +
    "\041\uffde\042\uffde\044\uffde\045\uffde\051\uffde\052\uffde\053" +
    "\uffde\001\002\000\034\012\060\016\034\017\027\020\040" +
    "\021\031\022\035\023\033\024\041\025\036\026\037\027" +
    "\032\030\030\031\042\001\002\000\076\002\uffc1\004\uffc1" +
    "\006\uffc1\010\uffc1\011\uffc1\012\uffc1\014\uffc1\015\uffc1\016" +
    "\uffc1\017\uffc1\020\uffc1\021\uffc1\022\uffc1\023\uffc1\024\uffc1" +
    "\025\uffc1\026\uffc1\027\uffc1\030\uffc1\031\uffc1\032\uffc1\035" +
    "\uffc1\036\uffc1\041\uffc1\042\uffc1\044\uffc1\045\uffc1\051\uffc1" +
    "\052\uffc1\053\uffc1\001\002\000\040\006\065\010\uffca\016" +
    "\034\017\027\020\040\021\031\022\035\023\033\024\041" +
    "\025\036\026\037\027\032\030\030\031\042\045\uffca\001" +
    "\002\000\004\010\064\001\002\000\070\002\uffd4\004\uffd4" +
    "\006\uffd4\010\uffd4\012\uffd4\014\uffd4\016\uffd4\017\uffd4\020" +
    "\uffd4\021\uffd4\022\uffd4\023\uffd4\024\uffd4\025\uffd4\026\uffd4" +
    "\027\uffd4\030\uffd4\031\uffd4\035\uffd4\036\uffd4\041\uffd4\042" +
    "\uffd4\044\uffd4\045\uffd4\051\uffd4\052\uffd4\053\uffd4\001\002" +
    "\000\070\002\uffd5\004\uffd5\006\uffd5\010\uffd5\012\uffd5\014" +
    "\uffd5\016\uffd5\017\uffd5\020\uffd5\021\uffd5\022\uffd5\023\uffd5" +
    "\024\uffd5\025\uffd5\026\uffd5\027\uffd5\030\uffd5\031\uffd5\035" +
    "\uffd5\036\uffd5\041\uffd5\042\uffd5\044\uffd5\045\uffd5\051\uffd5" +
    "\052\uffd5\053\uffd5\001\002\000\030\007\017\017\004\034" +
    "\013\037\005\040\007\043\016\047\021\050\010\056\015" +
    "\057\012\060\006\001\002\000\006\010\uffc9\045\uffc9\001" +
    "\002\000\012\044\ufffd\051\ufffd\052\ufffd\053\ufffd\001\002" +
    "\000\012\044\ufff1\051\077\052\ufff1\053\ufff1\001\002\000" +
    "\004\056\146\001\002\000\004\044\143\001\002\000\012" +

⌨️ 快捷键说明

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