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 ExpandBrackets

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

All Implemented Interfaces:
  RewriteRuleI

    public class ExpandBrackets

extends AbstractRewrite

Author:
  Rich Morris Created on 01-Oct-2004

Field Summary

Fields inherited from class org.lsmp.djep.rewrite.AbstractRewrite
`nf, opSet, tu, xj`

Constructor Summary
`ExpandBrackets(XJep xj)` TODO cope with a * uminus(x+x)

Method Summary
`Node` | `apply(ASTFunNode node, Node[] children)` Rewrites the node
`boolean` | `test(ASTFunNode node, Node[] children)` Returns true if node needs to be rewritten, according to this rule.

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

Constructor Detail

### ExpandBrackets

    public ExpandBrackets(XJep xj)

  TODO cope with a * uminus(x+x)

Method Detail

### test

    public boolean test(ASTFunNode node,
                        Node[] children)

  Description copied from interface: `RewriteRuleI`
  Returns true if node needs to be rewritten, according to this rule.

### apply

    public Node apply(ASTFunNode node,
                      Node[] children)
               throws ParseException

  Description copied from interface: `RewriteRuleI`
  Rewrites the node

  Throws:
    `ParseException`

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