/** * Initiates the walk of an AST. * @param ast the root AST * @param contents the contents of the file the AST was generated from. * @param astState state of AST. */ private void walk(DetailAST ast, FileContents contents, AstState astState) { notifyBegin(ast, contents, astState); processIter(ast, astState); notifyEnd(ast, astState); }
/** * Initiates the walk of an AST. * @param ast the root AST * @param contents the contents of the file the AST was generated from. * @param astState state of AST. */ private void walk(DetailAST ast, FileContents contents, AstState astState) { notifyBegin(ast, contents, astState); processIter(ast, astState); notifyEnd(ast, astState); }