coins.backend.gen
クラス Rule

java.lang.Object
  |
  +--coins.backend.gen.Rule

class Rule
extends java.lang.Object

Production rule body.


フィールドの概要
(パッケージプライベート)  ImList clobber
          Clobber list
(パッケージプライベート)  ImList code
          Object code in S-expression
(パッケージプライベート)  java.lang.String def
          Visible form of production
(パッケージプライベート)  long eqregs
          Register equation.
(パッケージプライベート)  boolean hasDelaySlot
          Has delay slot.
(パッケージプライベート)  int id
          Produciton rule number
(パッケージプライベート)  boolean isChain
          Chain rule flag
(パッケージプライベート)  boolean isDerived
          Derived rule flag
(パッケージプライベート)  int lhs
          Left hand side nonterminal
(パッケージプライベート)  java.lang.String[] regsets
          Register set name for each nonterminal.
(パッケージプライベート)  int[] subgoals
          Nonterminals appear in right hand side (not including ones in subrules).
(パッケージプライベート)  boolean useAfterDef
          Use after def flag.
(パッケージプライベート)  ImList value
          Value code in S-expression
 
コンストラクタの概要
(パッケージプライベート) Rule(int id, boolean isChain, boolean isDerived, int lhs, java.lang.String def, ImList code, ImList value, ImList clobber, long eqregs, boolean useAfterDef, boolean hasDelaySlot, int[] subgoals, java.lang.String[] regsets)
          Create Rule object.
 
メソッドの概要
 java.lang.String toString()
          Visualize
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

id

final int id
Produciton rule number


def

final java.lang.String def
Visible form of production


code

final ImList code
Object code in S-expression


value

final ImList value
Value code in S-expression


clobber

final ImList clobber
Clobber list


isChain

final boolean isChain
Chain rule flag


isDerived

final boolean isDerived
Derived rule flag


lhs

final int lhs
Left hand side nonterminal


subgoals

final int[] subgoals
Nonterminals appear in right hand side (not including ones in subrules).


regsets

final java.lang.String[] regsets
Register set name for each nonterminal. (including ones in subrules). regset[0] is for lhs.


eqregs

final long eqregs
Register equation. Assign $n to same register as $0 if (((eqregs >> n) & 1) == 1).


useAfterDef

final boolean useAfterDef
Use after def flag.


hasDelaySlot

final boolean hasDelaySlot
Has delay slot.

コンストラクタの詳細

Rule

Rule(int id,
     boolean isChain,
     boolean isDerived,
     int lhs,
     java.lang.String def,
     ImList code,
     ImList value,
     ImList clobber,
     long eqregs,
     boolean useAfterDef,
     boolean hasDelaySlot,
     int[] subgoals,
     java.lang.String[] regsets)
Create Rule object.

メソッドの詳細

toString

public java.lang.String toString()
Visualize

オーバーライド:
クラス java.lang.Object 内の toString