From 8a26f15230b3565e734cfc6a227855c99ef37c91 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 20 May 2019 10:24:32 -0400 Subject: [PATCH] mention additional arguments in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63e701e..6745b83 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ var acorn = require( 'acorn' ); ast = acorn.parse( sourceCode, options ); // https://github.com/marijnh/acorn walk( ast, { - enter: function ( node, parent ) { + enter: function ( node, parent, prop, index ) { // some code happens }, - leave: function ( node, parent ) { + leave: function ( node, parent, prop, index ) { // some code happens } }); @@ -42,4 +42,4 @@ None of which should be taken as criticism of estraverse, which has more feature ## License -MIT \ No newline at end of file +MIT