Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
37
lexers/testdata/typescript.expected
vendored
Normal file
37
lexers/testdata/typescript.expected
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
[
|
||||
{"type":"KeywordReserved","value":"const"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameOther","value":"moduleName"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"="},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameOther","value":"modules"},
|
||||
{"type":"Punctuation","value":"."},
|
||||
{"type":"NameOther","value":"map"},
|
||||
{"type":"Punctuation","value":"();"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"KeywordReserved","value":"declare"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"KeywordReserved","value":"module"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameOther","value":"\"fs\""},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{}"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"KeywordReserved","value":"declare"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"KeywordReserved","value":"module"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameOther","value":"\"@custom/plugin\""},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{}"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"KeywordReserved","value":"declare"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"KeywordReserved","value":"module"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameOther","value":"\"../../compiler/types\""},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{}"},
|
||||
{"type":"Text","value":"\n"}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue