Interface JavaNode

    • Method Detail

      • jjtAccept

        Object jjtAccept​(JavaParserVisitor visitor,
                         Object data)
        Calls back the visitor's visit method corresponding to the runtime type of this Node.
        Parameters:
        visitor - Visitor to dispatch
        data - Visit data
      • childrenAccept

        @Deprecated
        Object childrenAccept​(JavaParserVisitor visitor,
                              Object data)
        Deprecated.
        This method is not useful, the logic for combining children values should be present on the visitor, not the node
        Dispatches the given visitor to the children of this node. This is the default implementation of JavaParserVisitor.visit(JavaNode, Object), to which all other default implementations for visit methods delegate. Unless visit methods are overridden without calling super.visit, the visitor performs a depth-first tree walk.

        The return value of the visit methods called on children are ignored.

        Parameters:
        visitor - Visitor to dispatch
        data - Visit data