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 d9286ca commit b0a0ec8
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 b0a0ec8

Please sign in to comment.