accrue.analysis.visit

## Class SimplifyExpressions

- java.lang.Object
- - polyglot.visit.NodeVisitor
  - - polyglot.visit.HaltingVisitor
    - - accrue.analysis.visit.SimplifyExpressions

- All Implemented Interfaces:
    java.lang.Cloneable, polyglot.util.Copy<polyglot.visit.NodeVisitor>

      public class SimplifyExpressions
      extends polyglot.visit.HaltingVisitor

  Simplify some expressions for the later analyses. Actually, this is a kitchen-sink clean up pass...

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface polyglot.util.Copy

      `polyglot.util.Copy.Util`

  - ### Field Summary

    - ### Fields inherited from class polyglot.visit.HaltingVisitor

      `bypass, bypassParent`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimplifyExpressions(polyglot.ast.NodeFactory nf, polyglot.types.TypeSystem ts)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `polyglot.visit.NodeVisitor` | `enter(polyglot.ast.Node n)`
    `protected polyglot.ast.Node` | `flattenImpureUnary(polyglot.ast.Unary u)`
    `polyglot.ast.Node` | `leave(polyglot.ast.Node parent, polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v)`
    `protected polyglot.ast.Expr` | `simplifyAssignment(polyglot.ast.Assign ass)`

    - ### Methods inherited from class polyglot.visit.HaltingVisitor

      `bypass, bypass, bypassChildren, override, visitChildren`

    - ### Methods inherited from class polyglot.visit.NodeVisitor

      `begin, copy, enter, finish, finish, lang, leave, override, toString, visitEdge, visitEdgeNoOverride`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SimplifyExpressions

          public SimplifyExpressions(polyglot.ast.NodeFactory nf,
                             polyglot.types.TypeSystem ts)

  - ### Method Detail

    - #### enter

          public polyglot.visit.NodeVisitor enter(polyglot.ast.Node n)

      Overrides:
        `enter` in class `polyglot.visit.NodeVisitor`

    - #### leave

          public polyglot.ast.Node leave(polyglot.ast.Node parent,
                                polyglot.ast.Node old,
                                polyglot.ast.Node n,
                                polyglot.visit.NodeVisitor v)

      Overrides:
        `leave` in class `polyglot.visit.NodeVisitor`

    - #### flattenImpureUnary

          protected polyglot.ast.Node flattenImpureUnary(polyglot.ast.Unary u)

    - #### simplifyAssignment

          protected polyglot.ast.Expr simplifyAssignment(polyglot.ast.Assign ass)