Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.lsmp.djep.rewrite
Class AbstractRewrite

    java.lang.Object
      org.lsmp.djep.rewrite.AbstractRewrite

All Implemented Interfaces:
  RewriteRuleI

Direct Known Subclasses:
  CollectPowers, ExpandBrackets

    public abstract class AbstractRewrite

extends java.lang.Object
implements RewriteRuleI

Basic implementation for a RewriteRule. Subclasses can have access to NodeFactory,OperatorSet,TreeUtilsand XJep objects.

Author:
  Rich Morris Created on 01-Oct-2004

Field Summary
`protected NodeFactory` | `nf` A NodeFactory used for construction nodes.
`protected OperatorSet` | `opSet` An OperatorSet used for finding operators.
`protected TreeUtils` | `tu` TreeUtils for testing types of nodes.
`protected XJep` | `xj` A reference to main XJep opbject.

Constructor Summary
`AbstractRewrite(XJep xj)` Constructor with reference to XJep object.

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.lsmp.djep.rewrite.RewriteRuleI
`apply, test`

Field Detail

### nf

    protected NodeFactory nf

  A NodeFactory used for construction nodes.

### opSet

    protected OperatorSet opSet

  An OperatorSet used for finding operators.

### tu

    protected TreeUtils tu

  TreeUtils for testing types of nodes.

### xj

    protected XJep xj

  A reference to main XJep opbject.

Constructor Detail

### AbstractRewrite

    public AbstractRewrite(XJep xj)

  Constructor with reference to XJep object.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

http://www.singularsys.com/jep Copyright © 2007 Singular Systems