Skip to content

Commit

Permalink
docs: update the document to embrace the upstream v5 JSON result
Browse files Browse the repository at this point in the history
  • Loading branch information
rainx committed Sep 19, 2023
1 parent 463a768 commit fceadfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ console.log(rootNodes);
// [
// {
// nodeType: "Stmt_Echo",
// attributes: { startLine: 2, startFilePos: 6, endLine: 2, endFilePos: 18 },
// attributes: { startLine: 2, startFilePos: 6, endLine: 2, endTokenPos: 4, endFilePos: 18 },
// exprs: [[Object]],
// },
// ];
Expand All @@ -76,7 +76,7 @@ const echoNode =
console.log(echoNode);
// {
// nodeType: 'Stmt_Echo',
// attributes: { startLine: 2, startFilePos: 6, endLine: 2, endFilePos: 18 },
// attributes: { startLine: 2, startFilePos: 6, endLine: 2, endTokenPos: 4, endFilePos: 18 },
// exprs: [
// { nodeType: 'Scalar_String', attributes: [Object], value: 'Hello' }
// ]
Expand Down

0 comments on commit fceadfb

Please sign in to comment.