update example code format

This commit is contained in:
xigua 2020-12-17 10:12:05 +08:00
parent 828808808e
commit 096813cdee
2 changed files with 8 additions and 8 deletions

View File

@ -80,8 +80,8 @@ const tokens = parser.getAllTokens(sql)
console.log(tokens) console.log(tokens)
/* /*
[ [
{ {
channel: 0 channel: 0
column: 0 column: 0
line: 1 line: 1
source: [SqlLexer, InputStream] source: [SqlLexer, InputStream]
@ -91,8 +91,8 @@ console.log(tokens)
type: 137 type: 137
_text: null _text: null
text: "SELECT" text: "SELECT"
}, },
... ...
] ]
*/ */
``` ```

View File

@ -80,8 +80,8 @@ const tokens = parser.getAllTokens(sql)
console.log(tokens) console.log(tokens)
/* /*
[ [
{ {
channel: 0 channel: 0
column: 0 column: 0
line: 1 line: 1
source: [SqlLexer, InputStream] source: [SqlLexer, InputStream]
@ -91,8 +91,8 @@ console.log(tokens)
type: 137 type: 137
_text: null _text: null
text: "SELECT" text: "SELECT"
}, },
... ...
] ]
*/ */
``` ```