jif.parse

## Class UnwrapVisitor

- java.lang.Object
- - polyglot.visit.NodeVisitor
  - - jif.parse.UnwrapVisitor

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

      public class UnwrapVisitor
      extends polyglot.visit.NodeVisitor

  An `UnwrapVisitor` rewrites the AST to remove any Wrapped nodes resulting from the parser. A visitor which tries to unwrap every `Wrapper` object in the node it visits.

- - ### Nested Class Summary

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

      `polyglot.util.Copy.Util`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnwrapVisitor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isError()`
    `polyglot.ast.Node` | `override(polyglot.ast.Node n)`

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

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

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

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

- - ### Constructor Detail

    - #### UnwrapVisitor

          public UnwrapVisitor()

  - ### Method Detail

    - #### isError

          public boolean isError()

    - #### override

          public polyglot.ast.Node override(polyglot.ast.Node n)

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