[ {"type":"Comment","value":"## Test keywords are identified"}, {"type":"Text","value":"\n\n"}, {"type":"Keyword","value":"mutable struct"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"MutableType"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Keyword","value":"struct"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"ImmutableType"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Keyword","value":"abstract type"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"AbstractMyType"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Keyword","value":"primitive type"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"MyPrimitive"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"32"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"abstract"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"Name","value":"mutable"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"Name","value":"type"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"NameBuiltin","value":"true"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"NameBuiltin","value":"π"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"NameBuiltin","value":"missing"}, {"type":"Text","value":"\n\n"}, {"type":"Keyword","value":"abstract type"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"AbstractMyType"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Keyword","value":"primitive type"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"MyPrimitive"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"32"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n"}, {"type":"Keyword","value":"mutable struct"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"MutableType"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"end"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Test that macros are parsed, including ones which are defined as symbols"}, {"type":"Text","value":"\n\n"}, {"type":"NameDecorator","value":"@generated"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"function"}, {"type":"Text","value":"\n"}, {"type":"NameDecorator","value":"@."}, {"type":"Text","value":" "}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+"}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"NameDecorator","value":"@~"}, {"type":"Text","value":" "}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+"}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"NameDecorator","value":"@±"}, {"type":"Text","value":" "}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+"}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"NameDecorator","value":"@mymacro"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"a"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":"\n"}, {"type":"NameDecorator","value":"@+¹ᵀ"}, {"type":"Text","value":" "}, {"type":"Name","value":"a"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Test that the range of Julia variable names are correctly identified"}, {"type":"Text","value":"\n\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# single character variable"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a_simple_name"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"_leading_underscore"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"5"}, {"type":"Name","value":"implicit_mul"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"6"}, {"type":"Name","value":"_more_mul"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"nums1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"nums_2"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"nameswith!"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"multiple!!"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"embedded!_inthemiddle"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"embed!1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"prime_suffix′"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"for_each"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# starts with keyword substring"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# variables with characters \u003e \\u00A1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"ð"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Ll"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"Aʺ"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Lm -- \\U02BA (MODIFIER LETTER DOUBLE PRIME), not \\U2033 (DOUBLE PRIME)"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"א"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Lo"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"Ð"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Lu"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"A̅"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Mn -- \\U0305 (COMBINING OVERLINE)"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"ⅿ"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Nl -- \\U217F (SMALL ROMAN NUMERAL ONE THOUSAND)"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"A₁"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category No"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"A²"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category No"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"€"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Sc"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"©"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category So"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# number-like names"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"𝟙"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Nd"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"𝟏"}, {"type":"Text","value":" "}, {"type":"Comment","value":"# category Nd"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Tests identification of number forms"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# floats"}, {"type":"Text","value":"\n "}, {"type":"LiteralNumberFloat","value":"1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1e+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1e-1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1.1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1e+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1e-1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1_1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1_1.1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_1e1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_11e1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1.1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1E+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1E-1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1_1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1_1.1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_11E1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1.1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1f+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1f-1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1_1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1_1.1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_11f1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1E1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1E+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1E-1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1f1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1f+1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1f-1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":".1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1."}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1_11"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":".1_11"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1_1.1_1"}, {"type":"Text","value":"\n"}, {"type":"Comment","value":"# hex floats"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"0x1p1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0xa_bp10"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0x01_ap11"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0x01_abp1"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"0x1.1p1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0xA.Bp10"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0x0.1_Ap9"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0x0_1.Ap1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0x0_1.A_Bp9"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# integers"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"01"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"10_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"10_11"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# non-decimal"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberHex","value":"0xf"}, {"type":"Text","value":" "}, {"type":"LiteralNumberHex","value":"0xf_0"}, {"type":"Text","value":" "}, {"type":"LiteralNumberHex","value":"0xfff_000"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberOct","value":"0o7"}, {"type":"Text","value":" "}, {"type":"LiteralNumberOct","value":"0o7_0"}, {"type":"Text","value":" "}, {"type":"LiteralNumberOct","value":"0o777_000"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberBin","value":"0b1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberBin","value":"0b1_0"}, {"type":"Text","value":" "}, {"type":"LiteralNumberBin","value":"0b111_000"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# invalid in Julia - out of range values"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"0"}, {"type":"Name","value":"xg"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"0"}, {"type":"Name","value":"o8"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"0"}, {"type":"Name","value":"b2"}, {"type":"Text","value":" "}, {"type":"LiteralNumberHex","value":"0x1"}, {"type":"Name","value":"pA"}, {"type":"Text","value":"\n"}, {"type":"Comment","value":"# invalid in Julia - no trailing underscores"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Name","value":"_"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1.1"}, {"type":"Name","value":"_"}, {"type":"Text","value":" "}, {"type":"LiteralNumberHex","value":"0xf"}, {"type":"Name","value":"_"}, {"type":"Text","value":" "}, {"type":"LiteralNumberOct","value":"0o7"}, {"type":"Name","value":"_"}, {"type":"Text","value":" "}, {"type":"LiteralNumberBin","value":"0b1"}, {"type":"Name","value":"_"}, {"type":"Text","value":" "}, {"type":"LiteralNumberHex","value":"0xF"}, {"type":"Name","value":"_p1"}, {"type":"Text","value":"\n"}, {"type":"Comment","value":"# parsed as juxtaposed numeral + variable in Julia (no underscores in exponents)"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1e1"}, {"type":"Name","value":"_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1E1"}, {"type":"Name","value":"_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"1f1"}, {"type":"Name","value":"_1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberFloat","value":"0xfp1"}, {"type":"Name","value":"_1"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# not floats -- range-like expression parts"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Operator","value":".."}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":" "}, {"type":"Operator","value":".."}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Operator","value":".."}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Test that operators --- dotted and unicode --- are identified correctly."}, {"type":"Text","value":"\n\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+="}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Operator","value":"."}, {"type":"Name","value":"c"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":".÷="}, {"type":"Text","value":" "}, {"type":"Operator","value":".~"}, {"type":"Name","value":"b"}, {"type":"Operator","value":"."}, {"type":"Name","value":"c"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"Operator","value":"!"}, {"type":"Name","value":"b"}, {"type":"Text","value":" "}, {"type":"Operator","value":"⋆"}, {"type":"Text","value":" "}, {"type":"Name","value":"c!"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":" "}, {"type":"Operator","value":"?"}, {"type":"Text","value":" "}, {"type":"Name","value":"c"}, {"type":"Text","value":" "}, {"type":"Operator","value":":"}, {"type":"Text","value":" "}, {"type":"Name","value":"d"}, {"type":"Text","value":" "}, {"type":"Operator","value":"⊕"}, {"type":"Text","value":" "}, {"type":"Name","value":"e"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"Operator","value":"√"}, {"type":"Punctuation","value":"("}, {"type":"LiteralNumberInteger","value":"5"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"-\u003e"}, {"type":"Text","value":" "}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"a"}, {"type":"Operator","value":"..."}, {"type":"Punctuation","value":")"}, {"type":"Text","value":" "}, {"type":"Operator","value":".+"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\\"}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Operator","value":".."}, {"type":"LiteralNumberInteger","value":"2"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"==="}, {"type":"Text","value":" "}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003e:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"Punctuation","value":"["}, {"type":"Name","value":"adjoint"}, {"type":"Punctuation","value":"]"}, {"type":"Operator","value":"'"}, {"type":"Text","value":"\n"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"identity"}, {"type":"Punctuation","value":")"}, {"type":"Operator","value":"''"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"adjoint"}, {"type":"Operator","value":"'''"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"transpose"}, {"type":"Operator","value":"'ᵀ"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"suffixed"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+¹"}, {"type":"Text","value":" "}, {"type":"Name","value":"operator"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"suffixed"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+¹²³"}, {"type":"Text","value":" "}, {"type":"Name","value":"operator"}, {"type":"Text","value":"\n\n"}, {"type":"Operator","value":"%%"}, {"type":"Text","value":" "}, {"type":"Name","value":"Test"}, {"type":"Text","value":" "}, {"type":"Name","value":"string"}, {"type":"Text","value":" "}, {"type":"Name","value":"forms"}, {"type":"Text","value":"\n\n"}, {"type":"LiteralString","value":"\"global function\""}, {"type":"Text","value":"\n"}, {"type":"LiteralString","value":"\"An "}, {"type":"LiteralStringInterpol","value":"$interpolated"}, {"type":"LiteralString","value":" variable\""}, {"type":"Text","value":"\n"}, {"type":"LiteralString","value":"\"An "}, {"type":"LiteralStringInterpol","value":"$"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":")"}, {"type":"LiteralString","value":" expression\""}, {"type":"Text","value":"\n"}, {"type":"LiteralString","value":"\"\"\"a\"\"\""}, {"type":"Text","value":"\n"}, {"type":"LiteralString","value":"\"\"\"\nglobal function\nde e f\n\"inner string\"\n\"\"\""}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"raw"}, {"type":"LiteralString","value":"\"\\\\ a "}, {"type":"LiteralStringEscape","value":"\\\""}, {"type":"LiteralString","value":" $interp $(1 + 1) "}, {"type":"LiteralStringEscape","value":"\\\""}, {"type":"LiteralString","value":"\""}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"raw"}, {"type":"LiteralString","value":"\"\"\"\n\"inner string\"\n$interp\n$(1 + 1)\n\"\"\""}, {"type":"Text","value":"\n"}, {"type":"Comment","value":"# commented \"string\""}, {"type":"Text","value":"\n\n"}, {"type":"NameDecorator","value":"@sprintf"}, {"type":"Text","value":" "}, {"type":"LiteralString","value":"\""}, {"type":"LiteralStringInterpol","value":"%0.2f"}, {"type":"LiteralString","value":"\""}, {"type":"Text","value":" "}, {"type":"Name","value":"var"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"v"}, {"type":"LiteralString","value":"\"1.0\""}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"var"}, {"type":"LiteralString","value":"\"#nonstandard#\""}, {"type":"Text","value":"\n\n"}, {"type":"LiteralStringAffix","value":"r"}, {"type":"LiteralStringRegex","value":"\"^[abs]+$\""}, {"type":"LiteralStringAffix","value":"m"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"arbi"}, {"type":"LiteralString","value":"\"trary\""}, {"type":"LiteralStringAffix","value":"suff"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"arbi"}, {"type":"LiteralString","value":"\"trary\""}, {"type":"LiteralStringAffix","value":"1234"}, {"type":"Text","value":"\n\n"}, {"type":"LiteralStringBacktick","value":"`global function`"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringBacktick","value":"`abc "}, {"type":"LiteralStringEscape","value":"\\`"}, {"type":"LiteralStringBacktick","value":" "}, {"type":"LiteralStringEscape","value":"\\$"}, {"type":"LiteralStringBacktick","value":" "}, {"type":"LiteralStringInterpol","value":"$interpolated"}, {"type":"LiteralStringBacktick","value":"`"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringBacktick","value":"`abc "}, {"type":"LiteralStringInterpol","value":"$"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"a"}, {"type":"Text","value":" "}, {"type":"Operator","value":"+"}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":")"}, {"type":"LiteralStringBacktick","value":"`"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringBacktick","value":"```a```"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringBacktick","value":"```\nglobal function\n\"thing\" ` "}, {"type":"LiteralStringEscape","value":"\\$"}, {"type":"LiteralStringBacktick","value":"\n`now` "}, {"type":"LiteralStringInterpol","value":"$"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"now"}, {"type":"Punctuation","value":"())"}, {"type":"LiteralStringBacktick","value":"\n```"}, {"type":"Text","value":"\n"}, {"type":"Comment","value":"# commented `command`"}, {"type":"Text","value":"\n\n"}, {"type":"LiteralStringAffix","value":"arbi"}, {"type":"LiteralStringBacktick","value":"`trary`"}, {"type":"LiteralStringAffix","value":"suff"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringAffix","value":"arbi"}, {"type":"LiteralStringBacktick","value":"`trary`"}, {"type":"LiteralStringAffix","value":"1234"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Tests that symbols are parsed as special literals"}, {"type":"Text","value":"\n\n"}, {"type":"LiteralStringSymbol","value":":abc_123"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringSymbol","value":":abc_def"}, {"type":"Text","value":"\n"}, {"type":"LiteralStringSymbol","value":":α"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"Val"}, {"type":"Punctuation","value":"{"}, {"type":"LiteralStringSymbol","value":":mysymbol"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"# non-symbols"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Operator","value":":"}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Operator","value":":"}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"LiteralNumberFloat","value":"1."}, {"type":"Operator","value":":"}, {"type":"Name","value":"b"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"a"}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"a"}, {"type":"Operator","value":"\u003c:"}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"a"}, {"type":"Operator","value":"\u003e:"}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"UInt"}, {"type":"Punctuation","value":"("}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":")"}, {"type":"Operator","value":":"}, {"type":"KeywordType","value":"UInt"}, {"type":"Punctuation","value":"("}, {"type":"LiteralNumberInteger","value":"2"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":"\n\n"}, {"type":"Comment","value":"## Tests identifying names which must be types from context"}, {"type":"Text","value":"\n\n"}, {"type":"KeywordType","value":"Union"}, {"type":"Punctuation","value":"{}"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"MyType"}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"Nothing"}, {"type":"Punctuation","value":","}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"Any"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"Union"}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":","}, {"type":"KeywordType","value":"S"}, {"type":"Punctuation","value":"})"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"where"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"S"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"where"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"where"}, {"type":"Text","value":" "}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"Type"}, {"type":"Punctuation","value":"{"}, {"type":"Operator","value":"\u003c:"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":"})"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"AT"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"where"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"AT"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"AbstractArray"}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"MyType"}, {"type":"Punctuation","value":","}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"KeywordType","value":"Val"}, {"type":"Punctuation","value":"{"}, {"type":"LiteralStringSymbol","value":":named"}, {"type":"Punctuation","value":"})"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Operator","value":"::"}, {"type":"Name","value":"typeof"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"sin"}, {"type":"Punctuation","value":"))"}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"MyInt"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"Integer"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"Number"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003e:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"MyInt"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"AT"}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":","}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"B"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"B"}, {"type":"Operator","value":"\u003e:"}, {"type":"KeywordType","value":"AT"}, {"type":"Punctuation","value":"{"}, {"type":"KeywordType","value":"T"}, {"type":"Punctuation","value":","}, {"type":"LiteralNumberInteger","value":"1"}, {"type":"Punctuation","value":"}"}, {"type":"Text","value":"\n"}, {"type":"KeywordType","value":"A"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"Name","value":"f"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"B"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":"\n"}, {"type":"Name","value":"g"}, {"type":"Punctuation","value":"("}, {"type":"Name","value":"C"}, {"type":"Punctuation","value":")"}, {"type":"Text","value":" "}, {"type":"Operator","value":"\u003c:"}, {"type":"Text","value":" "}, {"type":"KeywordType","value":"T"}, {"type":"Text","value":"\n"} ]