coins.backend.tools
クラス Tmd2Java.OpPattern

java.lang.Object
  |
  +--coins.backend.tools.Tmd2Java.Pattern
        |
        +--coins.backend.tools.Tmd2Java.OpPattern
含まれているクラス:
Tmd2Java

static class Tmd2Java.OpPattern
extends Tmd2Java.Pattern

Production's right hand side pattern.


フィールドの概要
(パッケージプライベート)  Tmd2Java.Nonterm[] kids
           
(パッケージプライベート)  int op
           
(パッケージプライベート)  int type
           
(パッケージプライベート)  java.lang.Object value
           
 
コンストラクタの概要
(パッケージプライベート) Tmd2Java.OpPattern(int op, int type, java.lang.Object value)
           
(パッケージプライベート) Tmd2Java.OpPattern(int op, int type, Tmd2Java.Nonterm[] kids)
           
 
メソッドの概要
 boolean equals(java.lang.Object obj)
           
(パッケージプライベート)  java.lang.String getNth(java.lang.String parent, int n)
          Return the java code fragments which represents $n.
 int hashCode()
           
(パッケージプライベート)  Tmd2Java.Nonterm lhs()
          Return left hand side of this pattern (for derived rule)
(パッケージプライベート)  Tmd2Java.Nonterm[] realSubgoals()
          Return vector of right side nonterminals (including ones in derived rule).
(パッケージプライベート)  void setLhs(Tmd2Java.Nonterm lhs)
          Set this pattern's lhs (for derived rule)
(パッケージプライベート)  void setUsed()
          Mark this pattern as 'used'.
 java.lang.String toString()
           
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

op

final int op

type

final int type

kids

final Tmd2Java.Nonterm[] kids

value

final java.lang.Object value
コンストラクタの詳細

Tmd2Java.OpPattern

Tmd2Java.OpPattern(int op,
                   int type,
                   Tmd2Java.Nonterm[] kids)

Tmd2Java.OpPattern

Tmd2Java.OpPattern(int op,
                   int type,
                   java.lang.Object value)
メソッドの詳細

hashCode

public int hashCode()
オーバーライド:
クラス java.lang.Object 内の hashCode

equals

public boolean equals(java.lang.Object obj)
オーバーライド:
クラス java.lang.Object 内の equals

setUsed

void setUsed()
クラス Tmd2Java.Pattern の記述:
Mark this pattern as 'used'.

定義:
クラス Tmd2Java.Pattern 内の setUsed

toString

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

lhs

Tmd2Java.Nonterm lhs()
Return left hand side of this pattern (for derived rule)

定義:
クラス Tmd2Java.Pattern 内の lhs

setLhs

void setLhs(Tmd2Java.Nonterm lhs)
Set this pattern's lhs (for derived rule)


realSubgoals

Tmd2Java.Nonterm[] realSubgoals()
Return vector of right side nonterminals (including ones in derived rule).

定義:
クラス Tmd2Java.Pattern 内の realSubgoals

getNth

java.lang.String getNth(java.lang.String parent,
                        int n)
                  throws SyntaxError
Return the java code fragments which represents $n.

定義:
クラス Tmd2Java.Pattern 内の getNth
SyntaxError