chroma/lexers/testdata/psl.expected
2025-03-22 20:46:00 +13:00

152 lines
5.3 KiB
Text

[
{"type":"Text","value":" "},
{"type":"KeywordPseudo","value":"#PACKAGE"},
{"type":"Text","value":" "},
{"type":"Name","value":"custom"},
{"type":"Text","value":"\n "},
{"type":"KeywordPseudo","value":"#ACCEPT"},
{"type":"CommentSingle","value":" Date = 04/03/2021;"},
{"type":"Text","value":"\n "},
{"type":"KeywordPseudo","value":"#OPTION"},
{"type":"Text","value":" "},
{"type":"Name","value":"ResultClass"},
{"type":"Text","value":" "},
{"type":"KeywordConstant","value":"ON"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"Number"},
{"type":"Text","value":" "},
{"type":"Name","value":"SumMethod"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"CommentSingle","value":"// this is a comment"},
{"type":"Text","value":"\n "},
{"type":"KeywordDeclaration","value":"type"},
{"type":"Text","value":" "},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"Number"},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"set"},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralNumber","value":"10.0"},
{"type":"Text","value":"\n "},
{"type":"KeywordDeclaration","value":"type"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"String"},
{"type":"Text","value":" "},
{"type":"Name","value":"thisIsAString"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"this\""},
{"type":"Operator","value":"_"},
{"type":"Name","value":"x_"},
{"type":"LiteralString","value":"\"conjoined\""},
{"type":"Text","value":"\n "},
{"type":"KeywordDeclaration","value":"type"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"String"},
{"type":"Text","value":" "},
{"type":"Name","value":"i"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"\""},
{"type":"Text","value":"\n "},
{"type":"KeywordDeclaration","value":"type"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"Date"},
{"type":"Text","value":" "},
{"type":"Name","value":"sysDate"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"Name","value":"%SystemDate"},
{"type":"Text","value":"\n "},
{"type":"KeywordDeclaration","value":"type"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"Boolean"},
{"type":"Text","value":" "},
{"type":"Name","value":"publicVar"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"Name","value":".PubBoolean"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"for"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"set"},
{"type":"Text","value":" "},
{"type":"Name","value":"i"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"NameClass","value":"^UTBL"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"test\""},
{"type":"Punctuation","value":","},
{"type":"Name","value":"i"},
{"type":"Punctuation","value":")"},
{"type":"Name","value":".order"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"quit"},
{"type":"Operator","value":":"},
{"type":"Name","value":"i"},
{"type":"NameFunction","value":".isNull"},
{"type":"Punctuation","value":"()"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"set"},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":" "},
{"type":"Operator","value":"+"},
{"type":"Text","value":" "},
{"type":"Name","value":"i"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"set"},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"Name","value":"x"},
{"type":"Text","value":" "},
{"type":"Operator","value":"+"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"$$getMore"},
{"type":"NameClass","value":"^ProcedureName"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"AAA\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"do"},
{"type":"Text","value":" "},
{"type":"Name","value":"finishTask"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"x"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"AAA\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n\n "},
{"type":"Keyword","value":"quit"}
]