coins.simd
クラス LirMatch
java.lang.Object
|
+--coins.simd.LirMatch
- 直系の既知のサブクラス:
- LirBoneList, LirBopList
- public class LirMatch
- extends java.lang.Object
Matching of patterns and LirNode.
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newLir
public LirFactory newLir
- LirFactory
LirMatch
public LirMatch()
match
public boolean match(LirNode x,
LirNode y,
LirNode[] env)
- パラメータ:
x
- an LirNode, which is a pattern.y
- an LirNodeenv
- an LirNode array, whose index is used as a hole number.
- 戻り値:
- boolean, which represents matching is successful or not.
replace
public LirNode replace(LirNode e,
LirNode[] env)
matchReg
public boolean matchReg(LirNode x,
LirNode y,
java.util.Vector xv,
java.util.Vector yv)