2445 lines
95 KiB
Text
2445 lines
95 KiB
Text
[
|
||
{"type":"Text","value":""},
|
||
{"type":"CommentMultiline","value":"{*******************************************************}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentMultiline","value":"{ a totally senseless test unit }"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentMultiline","value":"{*******************************************************}"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"unit"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"UnitLexerTest"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"interface"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"uses"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"System"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"Classes"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"System"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"SysUtils"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentPreproc","value":"{$SCOPEDENUMS ON}"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"resourcestring"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"sEIsRunning"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'Cannot perform this operation when test is running.'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"sENotRunning"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'Test not running.'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CUNICODE"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'<27><>'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBUFFERSIZE"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1024"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLITERALNUMBERFLOAT"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"0.123"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLITERALNUMBERHEX"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"$1F2A3C"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"platform"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"deprecated"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CInteger"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"123"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLo"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"$0A7640000"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CHi"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"$00DE0B6B3"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CEXTENDED"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Extended"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"1E18"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"EmptyString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"''"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"NullString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PString"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@"},
|
||
{"type":"Text","value":"EmptyString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentMultiline","value":"(*\n This is\n a multiline\n comment block\n *)"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"type"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TState"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"undefined"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"-"},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"hidden"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"showing"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TDataBuffer"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"array"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":".."},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBUFFERSIZE"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"-"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"AnsiChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TFlag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Keyword","value":"Default"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Unicode"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TFlags"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"set"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TFlag"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TIntSet"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"set"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":".."},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SizeOf"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"*"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"8"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"-"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentMultiline","value":"{ This is\n another multiline\n comment block }"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"WRec"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"packed"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"record"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"case"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordConstant","value":"Lo"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordConstant","value":"Hi"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Byte"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"Bytes"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"array"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":".."},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Byte"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentMultiline","value":"{ Comment }"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// Comment Single"},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"cMultiLineString1"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'''\n some text\n and now '''\n some more text\n '''"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"cMultiLineString2"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'''''\n some text\n and now '''\n some more text\n '''''"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"fp1"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"real"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"6.123e-22"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"fp2"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"real"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"612.3e-24"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"fp3"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"real"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"61.23e-23"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"fp4"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"real"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"1.1e-8"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Epsilon"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Single"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"1E-40"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentPreproc","value":"{$NODEFINE string 'UnicodeString' }"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$OBJTYPENAME string 'NUnicodeString'}"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentMultiline","value":"{ defined in ustring.h }"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{-NODEFINE string 'String' }"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$OBJTYPENAME string 'NUnicodeString'}"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentMultiline","value":"{ defined in ustring.h }"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{-EXTERNALSYM ShortInt 'signed char' }"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{-OBJTYPENAME ShortInt 'Bzc'}"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentPreproc","value":"(*$hints off*)"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// another valid compiler directive"},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLineBreak"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$IFDEF POSIX}"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"_AnsiStr"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralStringEscape","value":"#10"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$IFDEF MSWINDOWS}"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"_AnsiStr"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralStringEscape","value":"#13#10"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"IntegerArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"array"},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Operator","value":".."},
|
||
{"type":"LiteralNumberHex","value":"$effffff"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"PIntegerArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"^"},
|
||
{"type":"Text","value":"IntegerArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"PointerArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"array"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Operator","value":".."},
|
||
{"type":"LiteralNumberInteger","value":"512"},
|
||
{"type":"Operator","value":"*"},
|
||
{"type":"LiteralNumberInteger","value":"1024"},
|
||
{"type":"Operator","value":"*"},
|
||
{"type":"LiteralNumberInteger","value":"1024"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"-"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"2"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Pointer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"PPointerArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"^"},
|
||
{"type":"Text","value":"PointerArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TPCharArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"packed"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"array"},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Operator","value":"..("},
|
||
{"type":"Text","value":"High"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"div"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SizeOf"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordType","value":"PChar"},
|
||
{"type":"Operator","value":"))-"},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"of"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"PPCharArray"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"^"},
|
||
{"type":"Text","value":"TPCharArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LNativeInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LNativeUInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeUInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LLongInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"LongInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LLongWord"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"LongWord"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInteger"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt64"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Int64"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LCardinal"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Cardinal"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUInt64"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UInt64"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LShortInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"ShortInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LSmallInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"SmallInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LFixedInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"FixedInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LByte"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Byte"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LWord"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Word"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LFixedUInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"FixedUInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt8"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Int8"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt16"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Int16"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt32"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Int32"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUInt8"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UInt8"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUInt16"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UInt16"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUInt32"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UInt32"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LReal48"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Real48"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LSingle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Single"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LDouble"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Double"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LReal"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Real"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LExtended"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Extended"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LComp"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Comp"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LCurrency"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Currency"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Char"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LAnsiChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"AnsiChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LWideChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"WideChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUCS2Char"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UCS2Char"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUCS4Char"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UCS4Char"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Lstring"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LShortString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"ShortString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LAnsiString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"AnsiString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUnicodeString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UnicodeString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LWideString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"WideString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LRawByteString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"RawByteString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LUTF8String"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"UTF8String"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LFile"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"File"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTextFile"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TextFile"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LText"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Text"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LBoolean"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Boolean"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LByteBool"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"ByteBool"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LWordBool"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"WordBool"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LLongBool"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"LongBool"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPointer"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Pointer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LVariant"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Variant"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LOleVariant"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"OleVariant"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTSingleRec"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TSingleRec"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// deprecated"},
|
||
{"type":"TextWhitespace","value":"\n "},
|
||
{"type":"Text","value":"LTDoubleRec"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TDoubleRec"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// deprecated"},
|
||
{"type":"TextWhitespace","value":"\n "},
|
||
{"type":"Text","value":"LTExtended80Rec"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TExtended80Rec"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTByteArray"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TByteArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTTextBuf"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TTextBuf"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTVarRec"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TVarRec"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LTWordArray"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"TWordArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPAnsiChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PAnsiChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPWideChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PWideChar"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPRawByteString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PRawByteString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPUnicodeString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PUnicodeString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPAnsiString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PAnsiString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPShortString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PShortString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPTextBuf"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PTextBuf"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPWideString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PWideString"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPByte"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PByte"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPShortInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PShortInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPWord"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PWord"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPSmallInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PSmallInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPCardinal"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PCardinal"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPLongWord"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PLongWord"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPFixedUInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PFixedUInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPLongint"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PLongint"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPFixedInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PFixedInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPUInt64"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PUInt64"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPInt64"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PInt64"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPNativeUInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PNativeUInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPNativeInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PNativeInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPByteArray"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PByteArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPCurrency"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PCurrency"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPDouble"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PDouble"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPExtended"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PExtended"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPSingle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PSingle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPInteger"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PInteger"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPOleVariant"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"POleVariant"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPVarRec"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PVarRec"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPVariant"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PVariant"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPWordArray"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PWordArray"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPBoolean"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PBoolean"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPWordBool"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PWordBool"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPLongBool"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PLongBool"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LPPointer"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PPointer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"type"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerPath"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"strict"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"private"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'\\LEXER'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF MSWINDOWS}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetSystemDrivePath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"static"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetProgramFilesPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"static"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetTempPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"static"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"public"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF MSWINDOWS}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"property"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SystemDrivePath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"read"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetSystemDrivePath"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"property"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"ProgramFilesPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"read"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetProgramFilesPath"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"property"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TempPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"read"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetTempPath"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"type"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"ILexerTest"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"interface"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralString","value":"'{F2A3AC58-4CBD-4AFB-8ACC-5AA0DCB6E23E}'"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetLexerHandle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"Text","value":"ComponentPlatformsAttribute"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"pfidWindows"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"class"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"TComponent"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"ILexerTest"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"private"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FLexerHandle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FTag"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"procedure"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SetTag"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Value"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeInt"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"protected"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetLexerHandle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"property"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LexerHandle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"read"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetLexerHandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"public"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"constructor"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Create"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"AOwner"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TComponent"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"override"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"destructor"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Destroy"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"override"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"procedure"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Run"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"published"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"property"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Tag"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeInt"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"read"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FTag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"write"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SetTag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Keyword","value":"default"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"implementation"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"uses"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"System"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"IOUtils"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"AllocateLexer"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// ???"},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetResult"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"AInputString"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Operator","value":"):"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Boolean"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// this is hurting"},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LResult"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Boolean"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LIntPtr"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"PInteger"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"NameConstant","value":"False"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Lstring"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'string'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LString2"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'''a '' string'''"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"string"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"Lstring"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LString2"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"Equals"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"AInputString"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Exit"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"NameConstant","value":"True"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"else"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LRes"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LResult"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"AInputString"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u003c\u003e"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralString","value":"'some input'"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LRes"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"ToString"},
|
||
{"type":"Operator","value":"))"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LResult"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LInt"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"66"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LIntPtr"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@"},
|
||
{"type":"Text","value":"LInt"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"(("},
|
||
{"type":"Text","value":"Round"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"2"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"-"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberFloat","value":"0.45"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"*"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"7"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"/"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"10"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u003e"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Ord"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralStringEscape","value":"#10"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"ToExtended"},
|
||
{"type":"Operator","value":"))"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"NameConstant","value":"True"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"LIntPtr"},
|
||
{"type":"Operator","value":"^"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"PInteger"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"LInt"},
|
||
{"type":"Operator","value":")^)"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u003c\u003e"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"13"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Beep"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"try"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@"},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u003c\u003e"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"nil"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"2"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"finally"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Beep"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"s"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'\u003crule pattern=\"\\b(?i:([div][mod][not][and][or][xor][shl][shr][in]))\\b\"\u003e'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"s"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"s"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"' ... this will just work, I''m sure'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"for"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"res"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"in"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"2"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"do"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"s"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"res"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"ToString"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"' '"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"s"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"start"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u0026"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Integer"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"9"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"var"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"LChar"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"Char"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Beep"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"asm"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"test"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"%"},
|
||
{"type":"Text","value":"eax"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"Operator","value":"%"},
|
||
{"type":"Text","value":"eax"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// fpc"},
|
||
{"type":"TextWhitespace","value":"\n "},
|
||
{"type":"Text","value":"mov"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"%"},
|
||
{"type":"Text","value":"fs"},
|
||
{"type":"Operator","value":":("},
|
||
{"type":"LiteralStringEscape","value":"0x2c"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"Operator","value":"%"},
|
||
{"type":"Text","value":"edx"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// fpc"},
|
||
{"type":"TextWhitespace","value":"\n "},
|
||
{"type":"Text","value":"mov"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"$0x1000000"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"Operator","value":"%"},
|
||
{"type":"Text","value":"eax"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// fpc assembler"},
|
||
{"type":"TextWhitespace","value":"\n "},
|
||
{"type":"Text","value":"DB"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'a string...'"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"LiteralNumberHex","value":"0D"},
|
||
{"type":"Text","value":"H"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"LiteralNumberHex","value":"0A"},
|
||
{"type":"Text","value":"H\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"DW"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"0FFFF"},
|
||
{"type":"Text","value":"H\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"DD"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"0FFFFFFFF"},
|
||
{"type":"Text","value":"H\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CMP"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"AL"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"LiteralString","value":"\"'\""},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"JE"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@@"},
|
||
{"type":"Text","value":"fd3\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@@"},
|
||
{"type":"Text","value":"fd1"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CALL"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@@"},
|
||
{"type":"Text","value":"fd3\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"SUB"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"EAX"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"LiteralNumberHex","value":"7FFF"},
|
||
{"type":"Text","value":"H\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"@@"},
|
||
{"type":"Text","value":"fd3"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"MOV"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"AL"},
|
||
{"type":"Punctuation","value":",["},
|
||
{"type":"Text","value":"EBX"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"MOV"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"EAX"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Punctuation","value":"["},
|
||
{"type":"Text","value":"LARGE"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberHex","value":"$42"},
|
||
{"type":"Punctuation","value":"]"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"MOV"},
|
||
{"type":"Operator","value":"\u0026"},
|
||
{"type":"Text","value":"LChar"},
|
||
{"type":"Punctuation","value":","},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"1"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentMultiline","value":"{ TLexerPath }"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF MSWINDOWS}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerPath"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"GetProgramFilesPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF WIN32}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'\\Program Files (x86)'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF WIN64}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'\\Program Files'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF WIN32}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetEnvironmentVariable"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralString","value":"'ProgramFiles(x86)'"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"IsEmpty"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetSystemDrivePath"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$IFDEF WIN64}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetEnvironmentVariable"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralString","value":"'ProgramW6432'"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"IsEmpty"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetSystemDrivePath"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerPath"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"GetSystemDrivePath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralString","value":"'C:'"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"GetEnvironmentVariable"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"LiteralString","value":"'SystemDrive'"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"IsEmpty"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CBACKUPPATH"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"CommentPreproc","value":"{$ENDIF}"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"class"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerPath"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"GetTempPath"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"string"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"System"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"IOUtils"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"TPath"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"GetTempPath"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"+"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"CLexerFolder"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentMultiline","value":"{ TLexerTest }"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"constructor"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"Create"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"Text","value":"AOwner"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TComponent"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"inherited"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Create"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordReserved","value":"nil"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FTag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"10"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"destructor"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"Destroy"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"inherited"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Destroy"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"function"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"GetLexerHandle"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"THandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FLexerHandle"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"LiteralNumberInteger","value":"0"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FLexerHandle"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"AllocateLexer"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"GenericEmph","value":"Result"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FLexerHandle"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"procedure"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"Run"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"CommentSingle","value":"// DoIt"},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"procedure"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"TLexerTest"},
|
||
{"type":"Punctuation","value":"."},
|
||
{"type":"Text","value":"SetTag"},
|
||
{"type":"Operator","value":"("},
|
||
{"type":"KeywordReserved","value":"const"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Value"},
|
||
{"type":"Operator","value":":"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordType","value":"NativeInt"},
|
||
{"type":"Operator","value":")"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"begin"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"if"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FTag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":"\u003c\u003e"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Value"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"KeywordReserved","value":"then"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"FTag"},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Operator","value":":="},
|
||
{"type":"TextWhitespace","value":" "},
|
||
{"type":"Text","value":"Value"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":";"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"KeywordReserved","value":"initialization"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentSingle","value":"// Unit initialization code..."},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"finalization"},
|
||
{"type":"Text","value":"\n\n"},
|
||
{"type":"CommentSingle","value":"// Unit finalization code..."},
|
||
{"type":"TextWhitespace","value":"\n"},
|
||
{"type":"Text","value":"\n"},
|
||
{"type":"KeywordReserved","value":"end"},
|
||
{"type":"Punctuation","value":"."}
|
||
]
|