@apple/tree-sitter-pkl 0.17.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +46 -0
- package/.gitattributes +50 -0
- package/CHANGELOG.adoc +56 -0
- package/CMakeLists.txt +66 -0
- package/Cargo.lock +21 -21
- package/Cargo.toml +1 -1
- package/Makefile +97 -0
- package/README.md +11 -13
- package/bindings/c/tree-sitter-pkl.pc.in +10 -0
- package/bindings/c/tree_sitter/tree-sitter-pkl.h +16 -0
- package/bindings/go/binding.go +15 -0
- package/bindings/go/binding_test.go +15 -0
- package/bindings/node/binding_test.js +9 -0
- package/bindings/node/index.d.ts +27 -0
- package/bindings/python/tests/test_binding.py +12 -0
- package/bindings/python/tree_sitter_pkl/__init__.py +42 -0
- package/bindings/python/tree_sitter_pkl/__init__.pyi +10 -0
- package/bindings/python/tree_sitter_pkl/binding.c +35 -0
- package/bindings/python/tree_sitter_pkl/py.typed +0 -0
- package/bindings/swift/TreeSitterPklTests/TreeSitterPklTests.swift +12 -0
- package/go.mod +7 -0
- package/go.sum +36 -0
- package/gradle.properties +5 -0
- package/gradlew +251 -0
- package/gradlew.bat +94 -0
- package/grammar.js +225 -195
- package/licenserc.toml +23 -0
- package/package.json +3 -2
- package/pyproject.toml +29 -0
- package/queries/highlights.scm +11 -16
- package/queries/injections.scm +1 -1
- package/queries/locals.scm +2 -2
- package/scripts/license-header.txt +13 -0
- package/setup.py +77 -0
- package/src/grammar.json +939 -883
- package/src/node-types.json +4392 -2028
- package/src/parser.c +30848 -34740
- package/src/scanner.c +43 -7
- package/src/tree_sitter/alloc.h +4 -4
- package/src/tree_sitter/array.h +2 -1
- package/src/tree_sitter/parser.h +29 -7
- package/test/corpus/basic/annotation.txt +28 -30
- package/test/corpus/basic/comments.txt +5 -5
- package/test/corpus/basic/shebangComment.txt +1 -1
- package/test/corpus/basic/types.txt +86 -131
- package/test/corpus/class/constModifier.txt +4 -5
- package/test/corpus/class/fixedModifier.txt +4 -5
- package/test/corpus/expr/binary.txt +75 -77
- package/test/corpus/expr/binary2.txt +18 -0
- package/test/corpus/expr/functionLiteral.txt +7 -8
- package/test/corpus/expr/if.txt +3 -3
- package/test/corpus/expr/import.txt +1 -1
- package/test/corpus/expr/let.txt +2 -2
- package/test/corpus/expr/new.txt +8 -10
- package/test/corpus/expr/qualifiedAccess.txt +34 -27
- package/test/corpus/expr/read.txt +8 -11
- package/test/corpus/expr/subscript.txt +48 -0
- package/test/corpus/expr/super.txt +27 -0
- package/test/corpus/expr/throw.txt +2 -3
- package/test/corpus/expr/trace.txt +2 -3
- package/test/corpus/expr/typeTest.txt +40 -0
- package/test/corpus/expr/unaryMinus.txt +22 -0
- package/test/corpus/module/moduleHeader1.txt +1 -1
- package/test/corpus/module/moduleHeader2.txt +1 -1
- package/test/corpus/module/moduleHeader3.error.txt +5 -5
- package/test/corpus/module/moduleHeader4.txt +1 -1
- package/test/corpus/number/underscores.txt +25 -25
- package/test/corpus/object/mixedEntriesAndElements.txt +52 -0
- package/test/corpus/object/objectAmendChain.txt +4 -4
- package/test/corpus/object/objectBodyParams.txt +21 -0
- package/test/corpus/object/objectElementWithTypeConstraint +30 -0
- package/test/corpus/object/objectElementsWithParens.txt +10 -10
- package/test/corpus/object/objectElementsWithTypeParams +65 -0
- package/test/corpus/object/objectGenerator.txt +8 -8
- package/test/corpus/object/objectMember.txt +27 -27
- package/test/corpus/object/objectMemberPredicate.txt +14 -14
- package/test/corpus/object/objectSpread.txt +8 -8
- package/test/corpus/object/objectWhenGenerator.txt +10 -10
- package/test/corpus/snippetTests/annotation/annotation1.txt +284 -0
- package/test/corpus/snippetTests/annotation/annotation2.txt +20 -0
- package/test/corpus/snippetTests/annotation/annotation3.txt +24 -0
- package/test/corpus/snippetTests/annotation/annotation4.txt +32 -0
- package/test/corpus/snippetTests/annotation/annotation5.txt +28 -0
- package/test/corpus/snippetTests/annotation/annotation6.txt +19 -0
- package/test/corpus/snippetTests/annotation/annotationIsNotExpression.txt +29 -0
- package/test/corpus/snippetTests/annotation/deprecated1.txt +385 -0
- package/test/corpus/snippetTests/annotation/deprecated2.txt +99 -0
- package/test/corpus/snippetTests/annotation/deprecated3.txt +155 -0
- package/test/corpus/snippetTests/annotation/deprecatedNoRepeatedWarnings.txt +58 -0
- package/test/corpus/snippetTests/annotation/deprecatedWithMessage1.txt +405 -0
- package/test/corpus/snippetTests/annotation/deprecatedWithMessage2.txt +104 -0
- package/test/corpus/snippetTests/annotation/deprecatedWithMessage3.txt +155 -0
- package/test/corpus/snippetTests/annotation/deprecationSuperMethod.txt +144 -0
- package/test/corpus/snippetTests/api/Resource.txt +128 -0
- package/test/corpus/snippetTests/api/analyze1.txt +176 -0
- package/test/corpus/snippetTests/api/any.txt +523 -0
- package/test/corpus/snippetTests/api/anyConverter.txt +161 -0
- package/test/corpus/snippetTests/api/baseModule.txt +170 -0
- package/test/corpus/snippetTests/api/dataSize.txt +1165 -0
- package/test/corpus/snippetTests/api/duration.txt +800 -0
- package/test/corpus/snippetTests/api/float.txt +1334 -0
- package/test/corpus/snippetTests/api/int.txt +1142 -0
- package/test/corpus/snippetTests/api/intseq.txt +1021 -0
- package/test/corpus/snippetTests/api/jsonParser1.txt +279 -0
- package/test/corpus/snippetTests/api/jsonParser2.txt +294 -0
- package/test/corpus/snippetTests/api/jsonParser3.txt +143 -0
- package/test/corpus/snippetTests/api/jsonParser4.txt +112 -0
- package/test/corpus/snippetTests/api/jsonParser5.txt +171 -0
- package/test/corpus/snippetTests/api/jsonRenderer1.json.txt +41 -0
- package/test/corpus/snippetTests/api/jsonRenderer2b.txt +300 -0
- package/test/corpus/snippetTests/api/jsonRenderer3.json.txt +334 -0
- package/test/corpus/snippetTests/api/jsonRenderer4.txt +388 -0
- package/test/corpus/snippetTests/api/jsonRenderer5.txt +388 -0
- package/test/corpus/snippetTests/api/jsonRenderer6.json.txt +163 -0
- package/test/corpus/snippetTests/api/jsonRenderer7.txt +53 -0
- package/test/corpus/snippetTests/api/jsonRenderer8.txt +30 -0
- package/test/corpus/snippetTests/api/jsonRendererEmptyComposites.txt +114 -0
- package/test/corpus/snippetTests/api/jsonnetRenderer3.jsonnet.txt +356 -0
- package/test/corpus/snippetTests/api/jsonnetRenderer4.txt +393 -0
- package/test/corpus/snippetTests/api/jsonnetRenderer5.txt +393 -0
- package/test/corpus/snippetTests/api/jsonnetRenderer6.jsonnet.txt +169 -0
- package/test/corpus/snippetTests/api/jsonnetRenderer7.txt +36 -0
- package/test/corpus/snippetTests/api/list.txt +4432 -0
- package/test/corpus/snippetTests/api/listNullable.txt +1513 -0
- package/test/corpus/snippetTests/api/map.txt +1144 -0
- package/test/corpus/snippetTests/api/mapping.txt +948 -0
- package/test/corpus/snippetTests/api/mathModule.txt +1426 -0
- package/test/corpus/snippetTests/api/module.txt +77 -0
- package/test/corpus/snippetTests/api/moduleOutput.txt +24 -0
- package/test/corpus/snippetTests/api/moduleOutput2.txt +25 -0
- package/test/corpus/snippetTests/api/pListRenderer1.plist.txt +41 -0
- package/test/corpus/snippetTests/api/pListRenderer3.plist.txt +348 -0
- package/test/corpus/snippetTests/api/pListRenderer4.txt +375 -0
- package/test/corpus/snippetTests/api/pListRenderer5.txt +424 -0
- package/test/corpus/snippetTests/api/pListRenderer6.plist.txt +163 -0
- package/test/corpus/snippetTests/api/pListRenderer7.txt +30 -0
- package/test/corpus/snippetTests/api/pair.txt +170 -0
- package/test/corpus/snippetTests/api/pcfRenderer1.txt +95 -0
- package/test/corpus/snippetTests/api/pcfRenderer2b.txt +301 -0
- package/test/corpus/snippetTests/api/pcfRenderer3.txt +350 -0
- package/test/corpus/snippetTests/api/pcfRenderer4.txt +391 -0
- package/test/corpus/snippetTests/api/pcfRenderer5.txt +460 -0
- package/test/corpus/snippetTests/api/pcfRenderer6.txt +118 -0
- package/test/corpus/snippetTests/api/pcfRenderer8.txt +16 -0
- package/test/corpus/snippetTests/api/platformModule.txt +147 -0
- package/test/corpus/snippetTests/api/plistRenderer2b.txt +300 -0
- package/test/corpus/snippetTests/api/propertiesRenderer1.properties.txt +41 -0
- package/test/corpus/snippetTests/api/propertiesRenderer10.properties.txt +24 -0
- package/test/corpus/snippetTests/api/propertiesRenderer11.txt +30 -0
- package/test/corpus/snippetTests/api/propertiesRenderer2b.txt +303 -0
- package/test/corpus/snippetTests/api/propertiesRenderer4.txt +484 -0
- package/test/corpus/snippetTests/api/propertiesRenderer5.txt +491 -0
- package/test/corpus/snippetTests/api/propertiesRenderer8.properties.txt +628 -0
- package/test/corpus/snippetTests/api/propertiesRenderer9.properties.txt +292 -0
- package/test/corpus/snippetTests/api/propertiesRendererBug66849708.properties.txt +106 -0
- package/test/corpus/snippetTests/api/protobuf2.txt +408 -0
- package/test/corpus/snippetTests/api/reflect1.txt +1686 -0
- package/test/corpus/snippetTests/api/reflect2.txt +480 -0
- package/test/corpus/snippetTests/api/reflect3.txt +193 -0
- package/test/corpus/snippetTests/api/reflectedDeclaration.txt +64 -0
- package/test/corpus/snippetTests/api/regex.txt +320 -0
- package/test/corpus/snippetTests/api/releaseModule.txt +262 -0
- package/test/corpus/snippetTests/api/renderDirective2.txt +374 -0
- package/test/corpus/snippetTests/api/semverModule.txt +2224 -0
- package/test/corpus/snippetTests/api/set.txt +3891 -0
- package/test/corpus/snippetTests/api/setNullable.txt +1113 -0
- package/test/corpus/snippetTests/api/typeAliases.txt +449 -0
- package/test/corpus/snippetTests/api/typeConverters.txt +211 -0
- package/test/corpus/snippetTests/api/xmlRenderer1.xml.txt +174 -0
- package/test/corpus/snippetTests/api/xmlRenderer2b.txt +306 -0
- package/test/corpus/snippetTests/api/xmlRenderer3.xml.txt +320 -0
- package/test/corpus/snippetTests/api/xmlRenderer4.txt +401 -0
- package/test/corpus/snippetTests/api/xmlRenderer5.txt +402 -0
- package/test/corpus/snippetTests/api/xmlRenderer6.xml.txt +169 -0
- package/test/corpus/snippetTests/api/xmlRenderer8.txt +36 -0
- package/test/corpus/snippetTests/api/xmlRendererCData.xml.txt +48 -0
- package/test/corpus/snippetTests/api/xmlRendererElement.xml.txt +103 -0
- package/test/corpus/snippetTests/api/xmlRendererHtml.xml.txt +212 -0
- package/test/corpus/snippetTests/api/xmlRendererInline.xml.txt +175 -0
- package/test/corpus/snippetTests/api/xmlRendererInline3.xml.txt +152 -0
- package/test/corpus/snippetTests/api/yamlParser1Yaml11.txt +22 -0
- package/test/corpus/snippetTests/api/yamlParser1Yaml12.txt +22 -0
- package/test/corpus/snippetTests/api/yamlParser2.txt +253 -0
- package/test/corpus/snippetTests/api/yamlParser3.txt +194 -0
- package/test/corpus/snippetTests/api/yamlParser4.txt +198 -0
- package/test/corpus/snippetTests/api/yamlParser5.txt +86 -0
- package/test/corpus/snippetTests/api/yamlParser6.txt +92 -0
- package/test/corpus/snippetTests/api/yamlRenderer1.yml.txt +41 -0
- package/test/corpus/snippetTests/api/yamlRenderer2b.txt +300 -0
- package/test/corpus/snippetTests/api/yamlRenderer3.yml.txt +342 -0
- package/test/corpus/snippetTests/api/yamlRenderer4.txt +441 -0
- package/test/corpus/snippetTests/api/yamlRenderer5.txt +441 -0
- package/test/corpus/snippetTests/api/yamlRenderer6.yml.txt +163 -0
- package/test/corpus/snippetTests/api/yamlRenderer7.txt +30 -0
- package/test/corpus/snippetTests/api/yamlRenderer8.yml.txt +142 -0
- package/test/corpus/snippetTests/api/yamlRendererBug66849708.yml.txt +106 -0
- package/test/corpus/snippetTests/api/yamlRendererEmpty.yml.txt +326 -0
- package/test/corpus/snippetTests/api/yamlRendererIndentationWidth2.yml.txt +227 -0
- package/test/corpus/snippetTests/api/yamlRendererIndentationWidth4.yml.txt +32 -0
- package/test/corpus/snippetTests/api/yamlRendererIndentationWidth5.yml.txt +32 -0
- package/test/corpus/snippetTests/api/yamlRendererStream1.txt +140 -0
- package/test/corpus/snippetTests/api/yamlRendererStringsYaml11.txt +22 -0
- package/test/corpus/snippetTests/api/yamlRendererStringsYaml12.txt +22 -0
- package/test/corpus/snippetTests/basic/amendsChains.txt +275 -0
- package/test/corpus/snippetTests/basic/as.txt +1468 -0
- package/test/corpus/snippetTests/basic/as2.txt +1077 -0
- package/test/corpus/snippetTests/basic/as3.txt +297 -0
- package/test/corpus/snippetTests/basic/baseModule.txt +11 -0
- package/test/corpus/snippetTests/basic/boolean.txt +430 -0
- package/test/corpus/snippetTests/basic/constModifier.txt +324 -0
- package/test/corpus/snippetTests/basic/constModifier2.txt +227 -0
- package/test/corpus/snippetTests/basic/constModifier3.txt +136 -0
- package/test/corpus/snippetTests/basic/constModifier4.txt +64 -0
- package/test/corpus/snippetTests/basic/constModifier5.txt +68 -0
- package/test/corpus/snippetTests/basic/dataSize.txt +658 -0
- package/test/corpus/snippetTests/basic/duration.txt +618 -0
- package/test/corpus/snippetTests/basic/exceptions.txt +18 -0
- package/test/corpus/snippetTests/basic/fixedProperty1.txt +62 -0
- package/test/corpus/snippetTests/basic/fixedProperty2.txt +33 -0
- package/test/corpus/snippetTests/basic/fixedProperty3.txt +31 -0
- package/test/corpus/snippetTests/basic/fixedProperty4.txt +15 -0
- package/test/corpus/snippetTests/basic/fixedProperty5.txt +20 -0
- package/test/corpus/snippetTests/basic/fixedProperty6.txt +15 -0
- package/test/corpus/snippetTests/basic/if.txt +83 -0
- package/test/corpus/snippetTests/basic/import1.txt +51 -0
- package/test/corpus/snippetTests/basic/import1b.txt +51 -0
- package/test/corpus/snippetTests/basic/import2.txt +34 -0
- package/test/corpus/snippetTests/basic/import3.txt +34 -0
- package/test/corpus/snippetTests/basic/imported.txt +19 -0
- package/test/corpus/snippetTests/basic/indexExpressions.txt +53 -0
- package/test/corpus/snippetTests/basic/intseq.txt +365 -0
- package/test/corpus/snippetTests/basic/is.txt +1504 -0
- package/test/corpus/snippetTests/basic/is2.txt +677 -0
- package/test/corpus/snippetTests/basic/let.txt +515 -0
- package/test/corpus/snippetTests/basic/letTyped.txt +293 -0
- package/test/corpus/snippetTests/basic/list.txt +252 -0
- package/test/corpus/snippetTests/basic/localMethodDynamicBinding.txt +187 -0
- package/test/corpus/snippetTests/basic/localMethodInAmendingModule.txt +216 -0
- package/test/corpus/snippetTests/basic/localMethodOverride1.txt +152 -0
- package/test/corpus/snippetTests/basic/localMethodOverride2.txt +173 -0
- package/test/corpus/snippetTests/basic/localMethodTyped.txt +564 -0
- package/test/corpus/snippetTests/basic/localMethodTyped2.txt +580 -0
- package/test/corpus/snippetTests/basic/localMethodTyped3.txt +218 -0
- package/test/corpus/snippetTests/basic/localMethodTyped4.txt +232 -0
- package/test/corpus/snippetTests/basic/localMethodTyped5.txt +211 -0
- package/test/corpus/snippetTests/basic/localMethodTyped6.txt +225 -0
- package/test/corpus/snippetTests/basic/localMethodUntyped.txt +488 -0
- package/test/corpus/snippetTests/basic/localModuleMemberOverride1.txt +227 -0
- package/test/corpus/snippetTests/basic/localModuleMemberOverride2.txt +202 -0
- package/test/corpus/snippetTests/basic/localProperty1.txt +33 -0
- package/test/corpus/snippetTests/basic/localProperty2.txt +77 -0
- package/test/corpus/snippetTests/basic/localPropertyAmendInAmendingModule.txt +25 -0
- package/test/corpus/snippetTests/basic/localPropertyInAmendingModule.txt +205 -0
- package/test/corpus/snippetTests/basic/localPropertyOverride1.txt +131 -0
- package/test/corpus/snippetTests/basic/localPropertyOverride2.txt +152 -0
- package/test/corpus/snippetTests/basic/localPropertyOverride3.txt +52 -0
- package/test/corpus/snippetTests/basic/localTypedClassMember.txt +277 -0
- package/test/corpus/snippetTests/basic/localTypedModuleMember.txt +265 -0
- package/test/corpus/snippetTests/basic/localTypedObjectMember.txt +268 -0
- package/test/corpus/snippetTests/basic/map.txt +398 -0
- package/test/corpus/snippetTests/basic/minPklVersion.txt +40 -0
- package/test/corpus/snippetTests/basic/moduleRef1.txt +108 -0
- package/test/corpus/snippetTests/basic/moduleRef2.txt +80 -0
- package/test/corpus/snippetTests/basic/moduleRef3.txt +112 -0
- package/test/corpus/snippetTests/basic/moduleRefLibrary.txt +33 -0
- package/test/corpus/snippetTests/basic/new.txt +1028 -0
- package/test/corpus/snippetTests/basic/newInAmendingModuleMethod.txt +116 -0
- package/test/corpus/snippetTests/basic/newInsideIf.txt +841 -0
- package/test/corpus/snippetTests/basic/newInsideLet.txt +869 -0
- package/test/corpus/snippetTests/basic/newType.txt +686 -0
- package/test/corpus/snippetTests/basic/nonNull.txt +131 -0
- package/test/corpus/snippetTests/basic/nullable.txt +239 -0
- package/test/corpus/snippetTests/basic/objectMember.txt +129 -0
- package/test/corpus/snippetTests/basic/objectMemberInvalid.txt +18 -0
- package/test/corpus/snippetTests/basic/objectMemberInvalid2.txt +18 -0
- package/test/corpus/snippetTests/basic/objectMemberInvalid3.txt +22 -0
- package/test/corpus/snippetTests/basic/parens.txt +59 -0
- package/test/corpus/snippetTests/basic/propertyDefaults.txt +126 -0
- package/test/corpus/snippetTests/basic/read.txt +250 -0
- package/test/corpus/snippetTests/basic/readGlob.txt +209 -0
- package/test/corpus/snippetTests/basic/semicolon.txt +18 -0
- package/test/corpus/snippetTests/basic/set.txt +340 -0
- package/test/corpus/snippetTests/basic/trace.txt +130 -0
- package/test/corpus/snippetTests/basic/typeResolution1.txt +31 -0
- package/test/corpus/snippetTests/basic/typeResolution2.txt +37 -0
- package/test/corpus/snippetTests/basic/typeResolution3.txt +63 -0
- package/test/corpus/snippetTests/basic/typeResolution4.txt +61 -0
- package/test/corpus/snippetTests/basic/underscore.txt +419 -0
- package/test/corpus/snippetTests/classes/class1.txt +54 -0
- package/test/corpus/snippetTests/classes/class2.txt +123 -0
- package/test/corpus/snippetTests/classes/class2a.txt +110 -0
- package/test/corpus/snippetTests/classes/class3.txt +65 -0
- package/test/corpus/snippetTests/classes/class4.txt +58 -0
- package/test/corpus/snippetTests/classes/constraints1.txt +141 -0
- package/test/corpus/snippetTests/classes/constraints11.txt +201 -0
- package/test/corpus/snippetTests/classes/constraints12.txt +204 -0
- package/test/corpus/snippetTests/classes/constraints13.txt +86 -0
- package/test/corpus/snippetTests/classes/constraints14.txt +39 -0
- package/test/corpus/snippetTests/classes/constraints2.txt +69 -0
- package/test/corpus/snippetTests/classes/constraints3.txt +97 -0
- package/test/corpus/snippetTests/classes/constraints4.txt +86 -0
- package/test/corpus/snippetTests/classes/constraints5.txt +71 -0
- package/test/corpus/snippetTests/classes/constraints6.txt +85 -0
- package/test/corpus/snippetTests/classes/constraints7.txt +148 -0
- package/test/corpus/snippetTests/classes/constraints8.txt +103 -0
- package/test/corpus/snippetTests/classes/constraints9.txt +92 -0
- package/test/corpus/snippetTests/classes/constraintsLambdaThis.txt +216 -0
- package/test/corpus/snippetTests/classes/equality.txt +123 -0
- package/test/corpus/snippetTests/classes/externalClass.txt +12 -0
- package/test/corpus/snippetTests/classes/externalFunction.txt +18 -0
- package/test/corpus/snippetTests/classes/externalProperty.txt +20 -0
- package/test/corpus/snippetTests/classes/functions1.txt +77 -0
- package/test/corpus/snippetTests/classes/functions2.txt +56 -0
- package/test/corpus/snippetTests/classes/functions3.txt +81 -0
- package/test/corpus/snippetTests/classes/functions4.txt +125 -0
- package/test/corpus/snippetTests/classes/inheritance1.txt +98 -0
- package/test/corpus/snippetTests/classes/inheritance2.txt +91 -0
- package/test/corpus/snippetTests/classes/invalidInstantiation1.txt +16 -0
- package/test/corpus/snippetTests/classes/invalidInstantiation2.txt +21 -0
- package/test/corpus/snippetTests/classes/lambdaConstraints1.txt +190 -0
- package/test/corpus/snippetTests/classes/listConstraints1.txt +312 -0
- package/test/corpus/snippetTests/classes/mapConstraints1.txt +495 -0
- package/test/corpus/snippetTests/classes/nullableTypes.txt +187 -0
- package/test/corpus/snippetTests/classes/setConstraints1.txt +312 -0
- package/test/corpus/snippetTests/classes/supercalls.txt +317 -0
- package/test/corpus/snippetTests/classes/unionTypes.txt +543 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorAlias.txt +93 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorDifferent1.txt +47 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorDifferent2.txt +52 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorMultipleAliases.txt +36 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorNested.txt +99 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorSimple.txt +42 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorString1.txt +43 -0
- package/test/corpus/snippetTests/classes/unionTypesErrorString2.txt +85 -0
- package/test/corpus/snippetTests/classes/wrongType1.txt +34 -0
- package/test/corpus/snippetTests/classes/wrongType2.txt +47 -0
- package/test/corpus/snippetTests/classes/wrongType3.txt +71 -0
- package/test/corpus/snippetTests/classes/wrongType4.txt +77 -0
- package/test/corpus/snippetTests/classes/wrongType6.txt +43 -0
- package/test/corpus/snippetTests/errors/abstractOpenMember.txt +13 -0
- package/test/corpus/snippetTests/errors/analyzeImportsCannotFindModule.txt +41 -0
- package/test/corpus/snippetTests/errors/analyzeImportsInvalidGlob.txt +41 -0
- package/test/corpus/snippetTests/errors/analyzeInvalidHttpModule.txt +26 -0
- package/test/corpus/snippetTests/errors/analyzeInvalidModuleUri.txt +26 -0
- package/test/corpus/snippetTests/errors/analyzeRelativeModuleUri.txt +26 -0
- package/test/corpus/snippetTests/errors/anyConverterError.txt +56 -0
- package/test/corpus/snippetTests/errors/baseModule.txt +24 -0
- package/test/corpus/snippetTests/errors/cannotAmendFixedProperty1.txt +62 -0
- package/test/corpus/snippetTests/errors/cannotAmendFixedProperty2.txt +24 -0
- package/test/corpus/snippetTests/errors/cannotAssignFixedProperty1.txt +45 -0
- package/test/corpus/snippetTests/errors/cannotAssignFixedProperty2.txt +19 -0
- package/test/corpus/snippetTests/errors/cannotAssignFixedProperty3.txt +31 -0
- package/test/corpus/snippetTests/errors/cannotAssignToNothing.txt +15 -0
- package/test/corpus/snippetTests/errors/cannotChangeFixed1.txt +35 -0
- package/test/corpus/snippetTests/errors/cannotChangeFixed2.txt +35 -0
- package/test/corpus/snippetTests/errors/cannotFindMapKey.txt +39 -0
- package/test/corpus/snippetTests/errors/cannotFindStdLibModule.txt +20 -0
- package/test/corpus/snippetTests/errors/cannotInferParent2.txt +14 -0
- package/test/corpus/snippetTests/errors/cannotInferParent3.txt +48 -0
- package/test/corpus/snippetTests/errors/cannotInstantiateAbstractModule.txt +21 -0
- package/test/corpus/snippetTests/errors/cannotRenderMixin.txt +41 -0
- package/test/corpus/snippetTests/errors/classExtendsSelf.txt +27 -0
- package/test/corpus/snippetTests/errors/constraintDetails1.txt +80 -0
- package/test/corpus/snippetTests/errors/constraintDetails2.txt +77 -0
- package/test/corpus/snippetTests/errors/constraintDetails3.txt +87 -0
- package/test/corpus/snippetTests/errors/duplicateTypeParameter.txt +22 -0
- package/test/corpus/snippetTests/errors/extendExternalClass.txt +12 -0
- package/test/corpus/snippetTests/errors/extendTypeAlias.txt +33 -0
- package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateMethods.txt +30 -0
- package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateProperties.txt +28 -0
- package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverThisValue.txt +21 -0
- package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverTyped.txt +27 -0
- package/test/corpus/snippetTests/errors/forGeneratorDuplicateParams1.txt +38 -0
- package/test/corpus/snippetTests/errors/fullStackTraces.txt +64 -0
- package/test/corpus/snippetTests/errors/fullStackTraces2.txt +56 -0
- package/test/corpus/snippetTests/errors/functionNotFoundInClass.txt +35 -0
- package/test/corpus/snippetTests/errors/functionNotFoundInModule.txt +25 -0
- package/test/corpus/snippetTests/errors/functionNotFoundInScope.txt +38 -0
- package/test/corpus/snippetTests/errors/functionNotFoundMaybeLambda.txt +24 -0
- package/test/corpus/snippetTests/errors/functionNotFoundMaybeProperty.txt +18 -0
- package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias1.txt +16 -0
- package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias2.txt +16 -0
- package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias3.txt +15 -0
- package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias4.txt +15 -0
- package/test/corpus/snippetTests/errors/invalidClassMethodModifier.txt +29 -0
- package/test/corpus/snippetTests/errors/invalidClassModifier.txt +11 -0
- package/test/corpus/snippetTests/errors/invalidClassModifier2.txt +12 -0
- package/test/corpus/snippetTests/errors/invalidClassPropertyModifier.txt +31 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport1.txt +19 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport4.txt +19 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport5.txt +20 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport6.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport7.txt +21 -0
- package/test/corpus/snippetTests/errors/invalidGlobImport8.txt +22 -0
- package/test/corpus/snippetTests/errors/invalidGlobRead1.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidGlobRead2.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidGlobRead3.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidImportBackslashSep.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidImportUri.txt +19 -0
- package/test/corpus/snippetTests/errors/invalidMethodModifier.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidModuleModifier.txt +20 -0
- package/test/corpus/snippetTests/errors/invalidObjectPropertyModifier.txt +17 -0
- package/test/corpus/snippetTests/errors/invalidOutput1.txt +17 -0
- package/test/corpus/snippetTests/errors/invalidOutput2.txt +22 -0
- package/test/corpus/snippetTests/errors/invalidOutput3.txt +12 -0
- package/test/corpus/snippetTests/errors/invalidPropertyModifier.txt +16 -0
- package/test/corpus/snippetTests/errors/invalidTripleDotSyntax1.txt +11 -0
- package/test/corpus/snippetTests/errors/invalidTripleDotSyntax2.txt +11 -0
- package/test/corpus/snippetTests/errors/invalidTypeAliasModifier.txt +14 -0
- package/test/corpus/snippetTests/errors/invalidTypeName1.txt +24 -0
- package/test/corpus/snippetTests/errors/invalidTypeName2.txt +31 -0
- package/test/corpus/snippetTests/errors/invalidTypeName3.txt +19 -0
- package/test/corpus/snippetTests/errors/invalidTypeName4.txt +24 -0
- package/test/corpus/snippetTests/errors/letExpressionError1.txt +24 -0
- package/test/corpus/snippetTests/errors/letExpressionError2.txt +27 -0
- package/test/corpus/snippetTests/errors/letExpressionErrorTyped.txt +27 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError1.txt +24 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError2.txt +30 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError3.txt +36 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError4.txt +43 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError5.txt +40 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError6.txt +58 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError7.txt +42 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError8.txt +84 -0
- package/test/corpus/snippetTests/errors/listingTypeCheckError9.txt +97 -0
- package/test/corpus/snippetTests/errors/localFixedMember.txt +19 -0
- package/test/corpus/snippetTests/errors/localFunctionWithTypeParameter.txt +18 -0
- package/test/corpus/snippetTests/errors/localHiddenMember.txt +17 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError1.txt +29 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError10.txt +49 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError11.txt +106 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError2.txt +30 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError3.txt +30 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError4.txt +36 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError5.txt +41 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError6.txt +75 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError7.txt +45 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError8.txt +33 -0
- package/test/corpus/snippetTests/errors/mappingTypeCheckError9.txt +69 -0
- package/test/corpus/snippetTests/errors/missingLocalPropertyValue1.txt +15 -0
- package/test/corpus/snippetTests/errors/missingLocalPropertyValue2.txt +22 -0
- package/test/corpus/snippetTests/errors/moduleAmendsSelf.txt +13 -0
- package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck.txt +13 -0
- package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck2.txt +22 -0
- package/test/corpus/snippetTests/errors/moduleExpected.txt +43 -0
- package/test/corpus/snippetTests/errors/moduleExtendsSelf.txt +20 -0
- package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck.txt +13 -0
- package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck2.txt +22 -0
- package/test/corpus/snippetTests/errors/moduleImportVersionCheck.txt +20 -0
- package/test/corpus/snippetTests/errors/moduleWithHighMinPklVersion.txt +29 -0
- package/test/corpus/snippetTests/errors/noDefault.txt +23 -0
- package/test/corpus/snippetTests/errors/noDefault2.txt +31 -0
- package/test/corpus/snippetTests/errors/objectCannotHaveElement.txt +72 -0
- package/test/corpus/snippetTests/errors/objectCannotHaveElement2.txt +98 -0
- package/test/corpus/snippetTests/errors/objectCannotHavePredicateMember.txt +25 -0
- package/test/corpus/snippetTests/errors/outOfRange1.txt +14 -0
- package/test/corpus/snippetTests/errors/outOfRange2.txt +17 -0
- package/test/corpus/snippetTests/errors/outOfRange3.txt +21 -0
- package/test/corpus/snippetTests/errors/propertyNotFound1.txt +32 -0
- package/test/corpus/snippetTests/errors/propertyNotFound2.txt +18 -0
- package/test/corpus/snippetTests/errors/refusingToLoadModule.txt +18 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveElement.txt +38 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveEntry.txt +34 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveProperty.txt +34 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxCannotIterateOverTyped.txt +44 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxCannotSpreadListIntoMapping.txt +37 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry1.txt +39 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry2.txt +39 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty1.txt +32 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty2.txt +32 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxNullValue.txt +20 -0
- package/test/corpus/snippetTests/errors/spreadSyntaxUnknownTypedProperty.txt +47 -0
- package/test/corpus/snippetTests/errors/stackTraceWithQuotedMemberName.txt +23 -0
- package/test/corpus/snippetTests/errors/supercalls.txt +18 -0
- package/test/corpus/snippetTests/errors/typeMismatchHelper.txt +19 -0
- package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedClassName.txt +38 -0
- package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedModuleName.txt +28 -0
- package/test/corpus/snippetTests/errors/undefinedOp1.txt +12 -0
- package/test/corpus/snippetTests/errors/undefinedOp2.txt +14 -0
- package/test/corpus/snippetTests/errors/undefinedOp3.txt +24 -0
- package/test/corpus/snippetTests/errors/undefinedProperty1.txt +28 -0
- package/test/corpus/snippetTests/errors/undefinedProperty2.txt +15 -0
- package/test/corpus/snippetTests/errors/undefinedProperty3.txt +95 -0
- package/test/corpus/snippetTests/errors/undefinedProperty4.txt +141 -0
- package/test/corpus/snippetTests/errors/undefinedProperty5.txt +160 -0
- package/test/corpus/snippetTests/errors/undefinedProperty6.txt +40 -0
- package/test/corpus/snippetTests/errors/undefinedProperty7.txt +35 -0
- package/test/corpus/snippetTests/errors/undefinedProperty8.txt +34 -0
- package/test/corpus/snippetTests/errors/underscoreLambda.txt +37 -0
- package/test/corpus/snippetTests/errors/underscoreLet.txt +17 -0
- package/test/corpus/snippetTests/errors/userDefinedTypeParameter1.txt +22 -0
- package/test/corpus/snippetTests/errors/userDefinedTypeParameter2.txt +32 -0
- package/test/corpus/snippetTests/errors/wrongForGeneratorType1.txt +35 -0
- package/test/corpus/snippetTests/errors/wrongForGeneratorType2.txt +37 -0
- package/test/corpus/snippetTests/errors/wrongNumberOfMapArguments.txt +16 -0
- package/test/corpus/snippetTests/generators/duplicateDefinition1.txt +23 -0
- package/test/corpus/snippetTests/generators/duplicateDefinition2.txt +30 -0
- package/test/corpus/snippetTests/generators/duplicateDefinition3.txt +26 -0
- package/test/corpus/snippetTests/generators/elementGenerators.txt +2628 -0
- package/test/corpus/snippetTests/generators/elementGeneratorsTyped.txt +1593 -0
- package/test/corpus/snippetTests/generators/entryGenerators.txt +3013 -0
- package/test/corpus/snippetTests/generators/entryGeneratorsTyped.txt +1858 -0
- package/test/corpus/snippetTests/generators/forGeneratorInMixins.txt +301 -0
- package/test/corpus/snippetTests/generators/forGeneratorLexicalScope.txt +199 -0
- package/test/corpus/snippetTests/generators/forGeneratorNestedReference.txt +277 -0
- package/test/corpus/snippetTests/generators/forGeneratorNestedReference2.txt +98 -0
- package/test/corpus/snippetTests/generators/forGeneratorVariableShadowing.txt +177 -0
- package/test/corpus/snippetTests/generators/generatorNoMembers.txt +157 -0
- package/test/corpus/snippetTests/generators/predicateMembersDynamicListing.txt +461 -0
- package/test/corpus/snippetTests/generators/predicateMembersDynamicMapping.txt +473 -0
- package/test/corpus/snippetTests/generators/predicateMembersListing.txt +463 -0
- package/test/corpus/snippetTests/generators/predicateMembersMapping.txt +474 -0
- package/test/corpus/snippetTests/generators/predicateMembersThis.txt +82 -0
- package/test/corpus/snippetTests/generators/propertyGenerators.txt +104 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxDynamic.txt +411 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxListing.txt +496 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxMapping.txt +655 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxNoSpace.txt +32 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxNullable.txt +37 -0
- package/test/corpus/snippetTests/generators/spreadSyntaxTyped.txt +59 -0
- package/test/corpus/snippetTests/implementation/equality.txt +198 -0
- package/test/corpus/snippetTests/implementation/inequality.txt +198 -0
- package/test/corpus/snippetTests/internal/polymorphicCallSite.txt +499 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaDef.txt +310 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaExpr.txt +325 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaExternalClassError.txt +45 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaParameters.txt +155 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaParametersTyped.txt +420 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaThatReturnsAnotherLambda.txt +380 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaTooFewArgsError.txt +60 -0
- package/test/corpus/snippetTests/lambdas/amendLambdaTooManyArgsError.txt +62 -0
- package/test/corpus/snippetTests/lambdas/equality.txt +62 -0
- package/test/corpus/snippetTests/lambdas/inequality.txt +62 -0
- package/test/corpus/snippetTests/lambdas/lambda1.txt +85 -0
- package/test/corpus/snippetTests/lambdas/lambda2.txt +78 -0
- package/test/corpus/snippetTests/lambdas/lambda3.txt +381 -0
- package/test/corpus/snippetTests/lambdas/lambda4.txt +147 -0
- package/test/corpus/snippetTests/lambdas/lambda5.txt +307 -0
- package/test/corpus/snippetTests/lambdas/lambdaStackTrace1.txt +35 -0
- package/test/corpus/snippetTests/lambdas/lambdaStackTrace2.txt +37 -0
- package/test/corpus/snippetTests/lambdas/lambdaStackTrace3.txt +33 -0
- package/test/corpus/snippetTests/lambdas/pipeOperator.txt +189 -0
- package/test/corpus/snippetTests/lambdas/tooManyLambdaParams.txt +27 -0
- package/test/corpus/snippetTests/lambdas/typedLambdas.txt +278 -0
- package/test/corpus/snippetTests/lambdas/wrongArgumentListLength.txt +37 -0
- package/test/corpus/snippetTests/listings/cacheStealing.txt +56 -0
- package/test/corpus/snippetTests/listings/cacheStealingTypeCheck.txt +27 -0
- package/test/corpus/snippetTests/listings/default.txt +133 -0
- package/test/corpus/snippetTests/listings/equality.txt +341 -0
- package/test/corpus/snippetTests/listings/hashCode.txt +438 -0
- package/test/corpus/snippetTests/listings/inequality.txt +173 -0
- package/test/corpus/snippetTests/listings/listing1.txt +360 -0
- package/test/corpus/snippetTests/listings/listing2.txt +755 -0
- package/test/corpus/snippetTests/listings/listing3.txt +490 -0
- package/test/corpus/snippetTests/listings/listing4.txt +156 -0
- package/test/corpus/snippetTests/listings/listing6.txt +208 -0
- package/test/corpus/snippetTests/listings/listing7.txt +71 -0
- package/test/corpus/snippetTests/listings/typeCheck.txt +2506 -0
- package/test/corpus/snippetTests/listings/wrongIndex.txt +121 -0
- package/test/corpus/snippetTests/listings/wrongParent.txt +253 -0
- package/test/corpus/snippetTests/listings2/default.txt +157 -0
- package/test/corpus/snippetTests/listings2/equality.txt +358 -0
- package/test/corpus/snippetTests/listings2/inequality.txt +227 -0
- package/test/corpus/snippetTests/listings2/listing1.txt +372 -0
- package/test/corpus/snippetTests/listings2/listing2.txt +904 -0
- package/test/corpus/snippetTests/listings2/listing3.txt +568 -0
- package/test/corpus/snippetTests/listings2/typeCheck.txt +336 -0
- package/test/corpus/snippetTests/listings2/wrongIndex.txt +151 -0
- package/test/corpus/snippetTests/listings2/wrongParent.txt +313 -0
- package/test/corpus/snippetTests/mappings/default.txt +174 -0
- package/test/corpus/snippetTests/mappings/duplicateComputedKey.txt +85 -0
- package/test/corpus/snippetTests/mappings/duplicateConstantKey.txt +32 -0
- package/test/corpus/snippetTests/mappings/equality.txt +383 -0
- package/test/corpus/snippetTests/mappings/hashCode.txt +461 -0
- package/test/corpus/snippetTests/mappings/inequality.txt +198 -0
- package/test/corpus/snippetTests/mappings/mapping1.txt +590 -0
- package/test/corpus/snippetTests/mappings/mapping2.txt +491 -0
- package/test/corpus/snippetTests/mappings/stringKeyNotFound.txt +50 -0
- package/test/corpus/snippetTests/mappings/typeCheck.txt +2877 -0
- package/test/corpus/snippetTests/mappings/wrongParent.txt +262 -0
- package/test/corpus/snippetTests/mappings2/default.txt +195 -0
- package/test/corpus/snippetTests/mappings2/duplicateComputedKey.txt +99 -0
- package/test/corpus/snippetTests/mappings2/duplicateConstantKey.txt +39 -0
- package/test/corpus/snippetTests/mappings2/equality.txt +416 -0
- package/test/corpus/snippetTests/mappings2/inequality.txt +268 -0
- package/test/corpus/snippetTests/mappings2/mapping1.txt +604 -0
- package/test/corpus/snippetTests/mappings2/mapping2.txt +595 -0
- package/test/corpus/snippetTests/mappings2/stringKeyNotFound.txt +57 -0
- package/test/corpus/snippetTests/mappings2/typeCheck.txt +582 -0
- package/test/corpus/snippetTests/mappings2/wrongParent.txt +334 -0
- package/test/corpus/snippetTests/methods/methodParameterConstraints1.txt +220 -0
- package/test/corpus/snippetTests/methods/methodParameterConstraints2.txt +382 -0
- package/test/corpus/snippetTests/methods/methodParameterTypes2.txt +734 -0
- package/test/corpus/snippetTests/methods/methodParameterTypes3.txt +196 -0
- package/test/corpus/snippetTests/modules/amendModule1.txt +36 -0
- package/test/corpus/snippetTests/modules/amendModule2.txt +28 -0
- package/test/corpus/snippetTests/modules/amendModule3.txt +24 -0
- package/test/corpus/snippetTests/modules/amendModule4.txt +35 -0
- package/test/corpus/snippetTests/modules/amendModule5.txt +68 -0
- package/test/corpus/snippetTests/modules/amendModule6.txt +13 -0
- package/test/corpus/snippetTests/modules/equality.txt +91 -0
- package/test/corpus/snippetTests/modules/extendModule1.txt +80 -0
- package/test/corpus/snippetTests/modules/externalFunction.txt +14 -0
- package/test/corpus/snippetTests/modules/externalProperty.txt +16 -0
- package/test/corpus/snippetTests/modules/filename with spaces 2.txt +14 -0
- package/test/corpus/snippetTests/modules/filename with spaces.txt +13 -0
- package/test/corpus/snippetTests/modules/functions.txt +264 -0
- package/test/corpus/snippetTests/modules/invalidAmend1.txt +18 -0
- package/test/corpus/snippetTests/modules/invalidAmend2.txt +19 -0
- package/test/corpus/snippetTests/modules/invalidAmend3.txt +23 -0
- package/test/corpus/snippetTests/modules/invalidAmend4.txt +21 -0
- package/test/corpus/snippetTests/modules/invalidAmend5.txt +17 -0
- package/test/corpus/snippetTests/modules/invalidAmend6.txt +22 -0
- package/test/corpus/snippetTests/modules/invalidExtend1.txt +18 -0
- package/test/corpus/snippetTests/modules/invalidExtend2.txt +13 -0
- package/test/corpus/snippetTests/modules/invalidExtend3.txt +13 -0
- package/test/corpus/snippetTests/modules/library.txt +77 -0
- package/test/corpus/snippetTests/modules/lists.txt +26 -0
- package/test/corpus/snippetTests/modules/objects.txt +22 -0
- package/test/corpus/snippetTests/modules/recursiveModule1.txt +51 -0
- package/test/corpus/snippetTests/modules/recursiveModule2.txt +26 -0
- package/test/corpus/snippetTests/modules/supercalls1.txt +43 -0
- package/test/corpus/snippetTests/modules/supercalls2.txt +76 -0
- package/test/corpus/snippetTests/modules/supercalls3.txt +142 -0
- package/test/corpus/snippetTests/modules/typedModuleMethods1.txt +229 -0
- package/test/corpus/snippetTests/modules/typedModuleProperties1.txt +106 -0
- package/test/corpus/snippetTests/modules/typedModuleProperties2.txt +16 -0
- package/test/corpus/snippetTests/modules/typedModuleProperties3.txt +20 -0
- package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236.txt +45 -0
- package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236_error.txt +14 -0
- package/test/corpus/snippetTests/objects/closure.txt +143 -0
- package/test/corpus/snippetTests/objects/configureObjectAssign.txt +78 -0
- package/test/corpus/snippetTests/objects/equality.txt +989 -0
- package/test/corpus/snippetTests/objects/hashCode.txt +566 -0
- package/test/corpus/snippetTests/objects/implicitReceiver1.txt +37 -0
- package/test/corpus/snippetTests/objects/implicitReceiver2.txt +33 -0
- package/test/corpus/snippetTests/objects/implicitReceiver3.txt +29 -0
- package/test/corpus/snippetTests/objects/implicitReceiver4.txt +25 -0
- package/test/corpus/snippetTests/objects/inequality.txt +777 -0
- package/test/corpus/snippetTests/objects/lateBinding1.txt +60 -0
- package/test/corpus/snippetTests/objects/lateBinding2.txt +60 -0
- package/test/corpus/snippetTests/objects/lateBinding3.txt +81 -0
- package/test/corpus/snippetTests/objects/lateBinding4.txt +77 -0
- package/test/corpus/snippetTests/objects/outer.txt +91 -0
- package/test/corpus/snippetTests/objects/outer2.txt +28 -0
- package/test/corpus/snippetTests/objects/super1.txt +67 -0
- package/test/corpus/snippetTests/objects/super2.txt +59 -0
- package/test/corpus/snippetTests/objects/super3.txt +59 -0
- package/test/corpus/snippetTests/objects/super4.txt +66 -0
- package/test/corpus/snippetTests/objects/super5.txt +69 -0
- package/test/corpus/snippetTests/objects/this1.txt +24 -0
- package/test/corpus/snippetTests/objects/this2.txt +71 -0
- package/test/corpus/snippetTests/packages/badImport1.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport10.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport11.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport2.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport3.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport4.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport6.error.txt +20 -0
- package/test/corpus/snippetTests/packages/badImport7.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport8.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badImport9.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead1.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead2.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead3.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead4.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead8.error.txt +14 -0
- package/test/corpus/snippetTests/packages/badRead9.error.txt +14 -0
- package/test/corpus/snippetTests/packages/packages1.txt +103 -0
- package/test/corpus/snippetTests/packages/packages2.txt +104 -0
- package/test/corpus/snippetTests/packages/redirects.txt +54 -0
- package/test/corpus/snippetTests/types/ThisInTypeConstraint.txt +342 -0
- package/test/corpus/snippetTests/types/currentModuleType1.txt +343 -0
- package/test/corpus/snippetTests/types/currentModuleType2.txt +351 -0
- package/test/corpus/snippetTests/types/currentModuleType3.txt +18 -0
- package/test/corpus/snippetTests/types/cyclicTypeAlias1.txt +17 -0
- package/test/corpus/snippetTests/types/cyclicTypeAlias2.txt +42 -0
- package/test/corpus/snippetTests/types/modifiersForTypes.txt +68 -0
- package/test/corpus/snippetTests/types/moduleType.txt +58 -0
- package/test/corpus/snippetTests/types/nothingType.txt +29 -0
- package/test/corpus/snippetTests/types/nothingWithUnions.txt +31 -0
- package/test/corpus/snippetTests/types/typeAlias1.txt +925 -0
- package/test/corpus/snippetTests/types/typeAlias2.txt +361 -0
- package/test/corpus/snippetTests/types/typeAliasConstraint1.txt +79 -0
- package/test/corpus/snippetTests/types/typeAliasConstraint2.txt +77 -0
- package/test/corpus/snippetTests/types/typeAliasContext.txt +26 -0
- package/test/corpus/snippetTests/types/typeAliasUnion.txt +169 -0
- package/test/corpus/string/customStringDelimiters.txt +74 -74
- package/test/corpus/string/multiline.txt +4 -4
- package/test/corpus/string/multilineInterpolation.txt +21 -21
- package/test/corpus/string/multilineInterpolation2.txt +15 -0
- package/test/corpus/string/simple.txt +1 -1
- package/test/corpus/string/singleLineEscapes.txt +7 -7
- package/test/corpus/string/singleLineInterpolation.txt +28 -28
- package/test/corpus/string/stringWithTwoSlashes.txt +2 -2
- package/test/corpus/type/unionType.txt +34 -0
- package/test/corpus/type/unionTypeDefaults.txt +46 -0
- package/tree-sitter.json +44 -0
- package/test/corpus/string/missingDelimiter.txt +0 -28
package/src/grammar.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
|
|
2
3
|
"name": "pkl",
|
|
3
4
|
"word": "identifier",
|
|
4
5
|
"rules": {
|
|
@@ -436,7 +437,7 @@
|
|
|
436
437
|
},
|
|
437
438
|
{
|
|
438
439
|
"type": "SYMBOL",
|
|
439
|
-
"name": "
|
|
440
|
+
"name": "_type"
|
|
440
441
|
}
|
|
441
442
|
]
|
|
442
443
|
},
|
|
@@ -682,7 +683,7 @@
|
|
|
682
683
|
},
|
|
683
684
|
"_objectMember": {
|
|
684
685
|
"type": "PREC",
|
|
685
|
-
"value": -
|
|
686
|
+
"value": -2,
|
|
686
687
|
"content": {
|
|
687
688
|
"type": "CHOICE",
|
|
688
689
|
"members": [
|
|
@@ -704,7 +705,7 @@
|
|
|
704
705
|
},
|
|
705
706
|
{
|
|
706
707
|
"type": "SYMBOL",
|
|
707
|
-
"name": "
|
|
708
|
+
"name": "memberPredicate"
|
|
708
709
|
},
|
|
709
710
|
{
|
|
710
711
|
"type": "SYMBOL",
|
|
@@ -842,19 +843,10 @@
|
|
|
842
843
|
]
|
|
843
844
|
},
|
|
844
845
|
"objectElement": {
|
|
845
|
-
"type": "
|
|
846
|
-
"
|
|
847
|
-
{
|
|
848
|
-
"type": "SYMBOL",
|
|
849
|
-
"name": "variableExpr"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"type": "SYMBOL",
|
|
853
|
-
"name": "_expr2"
|
|
854
|
-
}
|
|
855
|
-
]
|
|
846
|
+
"type": "SYMBOL",
|
|
847
|
+
"name": "_expr"
|
|
856
848
|
},
|
|
857
|
-
"
|
|
849
|
+
"memberPredicate": {
|
|
858
850
|
"type": "SEQ",
|
|
859
851
|
"members": [
|
|
860
852
|
{
|
|
@@ -917,7 +909,7 @@
|
|
|
917
909
|
},
|
|
918
910
|
{
|
|
919
911
|
"type": "SYMBOL",
|
|
920
|
-
"name": "
|
|
912
|
+
"name": "_parameter"
|
|
921
913
|
},
|
|
922
914
|
{
|
|
923
915
|
"type": "CHOICE",
|
|
@@ -931,7 +923,7 @@
|
|
|
931
923
|
},
|
|
932
924
|
{
|
|
933
925
|
"type": "SYMBOL",
|
|
934
|
-
"name": "
|
|
926
|
+
"name": "_parameter"
|
|
935
927
|
}
|
|
936
928
|
]
|
|
937
929
|
},
|
|
@@ -1046,7 +1038,7 @@
|
|
|
1046
1038
|
"members": [
|
|
1047
1039
|
{
|
|
1048
1040
|
"type": "SYMBOL",
|
|
1049
|
-
"name": "
|
|
1041
|
+
"name": "_parameter"
|
|
1050
1042
|
},
|
|
1051
1043
|
{
|
|
1052
1044
|
"type": "REPEAT",
|
|
@@ -1059,7 +1051,7 @@
|
|
|
1059
1051
|
},
|
|
1060
1052
|
{
|
|
1061
1053
|
"type": "SYMBOL",
|
|
1062
|
-
"name": "
|
|
1054
|
+
"name": "_parameter"
|
|
1063
1055
|
}
|
|
1064
1056
|
]
|
|
1065
1057
|
}
|
|
@@ -1081,11 +1073,11 @@
|
|
|
1081
1073
|
},
|
|
1082
1074
|
{
|
|
1083
1075
|
"type": "SYMBOL",
|
|
1084
|
-
"name": "
|
|
1076
|
+
"name": "_type"
|
|
1085
1077
|
}
|
|
1086
1078
|
]
|
|
1087
1079
|
},
|
|
1088
|
-
"
|
|
1080
|
+
"_type": {
|
|
1089
1081
|
"type": "CHOICE",
|
|
1090
1082
|
"members": [
|
|
1091
1083
|
{
|
|
@@ -1141,7 +1133,7 @@
|
|
|
1141
1133
|
},
|
|
1142
1134
|
{
|
|
1143
1135
|
"type": "SYMBOL",
|
|
1144
|
-
"name": "
|
|
1136
|
+
"name": "defaultUnionType"
|
|
1145
1137
|
},
|
|
1146
1138
|
{
|
|
1147
1139
|
"type": "SYMBOL",
|
|
@@ -1154,25 +1146,29 @@
|
|
|
1154
1146
|
"name": "stringConstant"
|
|
1155
1147
|
},
|
|
1156
1148
|
"declaredType": {
|
|
1157
|
-
"type": "
|
|
1158
|
-
"
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1149
|
+
"type": "PREC_RIGHT",
|
|
1150
|
+
"value": 30,
|
|
1151
|
+
"content": {
|
|
1152
|
+
"type": "SEQ",
|
|
1153
|
+
"members": [
|
|
1154
|
+
{
|
|
1155
|
+
"type": "SYMBOL",
|
|
1156
|
+
"name": "qualifiedIdentifier"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"type": "CHOICE",
|
|
1160
|
+
"members": [
|
|
1161
|
+
{
|
|
1162
|
+
"type": "SYMBOL",
|
|
1163
|
+
"name": "typeArgumentList"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"type": "BLANK"
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
}
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1176
1172
|
},
|
|
1177
1173
|
"parenthesizedType": {
|
|
1178
1174
|
"type": "SEQ",
|
|
@@ -1183,7 +1179,7 @@
|
|
|
1183
1179
|
},
|
|
1184
1180
|
{
|
|
1185
1181
|
"type": "SYMBOL",
|
|
1186
|
-
"name": "
|
|
1182
|
+
"name": "_type"
|
|
1187
1183
|
},
|
|
1188
1184
|
{
|
|
1189
1185
|
"type": "STRING",
|
|
@@ -1193,13 +1189,13 @@
|
|
|
1193
1189
|
},
|
|
1194
1190
|
"nullableType": {
|
|
1195
1191
|
"type": "PREC",
|
|
1196
|
-
"value":
|
|
1192
|
+
"value": 29,
|
|
1197
1193
|
"content": {
|
|
1198
1194
|
"type": "SEQ",
|
|
1199
1195
|
"members": [
|
|
1200
1196
|
{
|
|
1201
1197
|
"type": "SYMBOL",
|
|
1202
|
-
"name": "
|
|
1198
|
+
"name": "_type"
|
|
1203
1199
|
},
|
|
1204
1200
|
{
|
|
1205
1201
|
"type": "STRING",
|
|
@@ -1209,56 +1205,65 @@
|
|
|
1209
1205
|
}
|
|
1210
1206
|
},
|
|
1211
1207
|
"constrainedType": {
|
|
1212
|
-
"type": "
|
|
1213
|
-
"
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
"members": [
|
|
1225
|
-
{
|
|
1208
|
+
"type": "PREC_RIGHT",
|
|
1209
|
+
"value": 30,
|
|
1210
|
+
"content": {
|
|
1211
|
+
"type": "SEQ",
|
|
1212
|
+
"members": [
|
|
1213
|
+
{
|
|
1214
|
+
"type": "SYMBOL",
|
|
1215
|
+
"name": "_type"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"type": "ALIAS",
|
|
1219
|
+
"content": {
|
|
1226
1220
|
"type": "SYMBOL",
|
|
1227
|
-
"name": "
|
|
1221
|
+
"name": "_open_argument_paren"
|
|
1228
1222
|
},
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1223
|
+
"named": false,
|
|
1224
|
+
"value": "("
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"type": "SEQ",
|
|
1228
|
+
"members": [
|
|
1229
|
+
{
|
|
1230
|
+
"type": "SYMBOL",
|
|
1231
|
+
"name": "_expr"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"type": "REPEAT",
|
|
1235
|
+
"content": {
|
|
1236
|
+
"type": "SEQ",
|
|
1237
|
+
"members": [
|
|
1238
|
+
{
|
|
1239
|
+
"type": "STRING",
|
|
1240
|
+
"value": ","
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"type": "SYMBOL",
|
|
1244
|
+
"name": "_expr"
|
|
1245
|
+
}
|
|
1246
|
+
]
|
|
1247
|
+
}
|
|
1243
1248
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1249
|
+
]
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"type": "STRING",
|
|
1253
|
+
"value": ")"
|
|
1254
|
+
}
|
|
1255
|
+
]
|
|
1256
|
+
}
|
|
1252
1257
|
},
|
|
1253
1258
|
"unionType": {
|
|
1254
1259
|
"type": "PREC_LEFT",
|
|
1255
|
-
"value":
|
|
1260
|
+
"value": 28,
|
|
1256
1261
|
"content": {
|
|
1257
1262
|
"type": "SEQ",
|
|
1258
1263
|
"members": [
|
|
1259
1264
|
{
|
|
1260
1265
|
"type": "SYMBOL",
|
|
1261
|
-
"name": "
|
|
1266
|
+
"name": "_type"
|
|
1262
1267
|
},
|
|
1263
1268
|
{
|
|
1264
1269
|
"type": "STRING",
|
|
@@ -1266,14 +1271,14 @@
|
|
|
1266
1271
|
},
|
|
1267
1272
|
{
|
|
1268
1273
|
"type": "SYMBOL",
|
|
1269
|
-
"name": "
|
|
1274
|
+
"name": "_type"
|
|
1270
1275
|
}
|
|
1271
1276
|
]
|
|
1272
1277
|
}
|
|
1273
1278
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"type": "
|
|
1276
|
-
"value":
|
|
1279
|
+
"defaultUnionType": {
|
|
1280
|
+
"type": "PREC_LEFT",
|
|
1281
|
+
"value": 29,
|
|
1277
1282
|
"content": {
|
|
1278
1283
|
"type": "SEQ",
|
|
1279
1284
|
"members": [
|
|
@@ -1283,14 +1288,14 @@
|
|
|
1283
1288
|
},
|
|
1284
1289
|
{
|
|
1285
1290
|
"type": "SYMBOL",
|
|
1286
|
-
"name": "
|
|
1291
|
+
"name": "_type"
|
|
1287
1292
|
}
|
|
1288
1293
|
]
|
|
1289
1294
|
}
|
|
1290
1295
|
},
|
|
1291
1296
|
"functionLiteralType": {
|
|
1292
1297
|
"type": "PREC",
|
|
1293
|
-
"value":
|
|
1298
|
+
"value": 27,
|
|
1294
1299
|
"content": {
|
|
1295
1300
|
"type": "SEQ",
|
|
1296
1301
|
"members": [
|
|
@@ -1306,7 +1311,7 @@
|
|
|
1306
1311
|
"members": [
|
|
1307
1312
|
{
|
|
1308
1313
|
"type": "SYMBOL",
|
|
1309
|
-
"name": "
|
|
1314
|
+
"name": "_type"
|
|
1310
1315
|
},
|
|
1311
1316
|
{
|
|
1312
1317
|
"type": "REPEAT",
|
|
@@ -1319,7 +1324,7 @@
|
|
|
1319
1324
|
},
|
|
1320
1325
|
{
|
|
1321
1326
|
"type": "SYMBOL",
|
|
1322
|
-
"name": "
|
|
1327
|
+
"name": "_type"
|
|
1323
1328
|
}
|
|
1324
1329
|
]
|
|
1325
1330
|
}
|
|
@@ -1341,7 +1346,7 @@
|
|
|
1341
1346
|
},
|
|
1342
1347
|
{
|
|
1343
1348
|
"type": "SYMBOL",
|
|
1344
|
-
"name": "
|
|
1349
|
+
"name": "_type"
|
|
1345
1350
|
}
|
|
1346
1351
|
]
|
|
1347
1352
|
}
|
|
@@ -1358,7 +1363,7 @@
|
|
|
1358
1363
|
"members": [
|
|
1359
1364
|
{
|
|
1360
1365
|
"type": "SYMBOL",
|
|
1361
|
-
"name": "
|
|
1366
|
+
"name": "_type"
|
|
1362
1367
|
},
|
|
1363
1368
|
{
|
|
1364
1369
|
"type": "REPEAT",
|
|
@@ -1371,7 +1376,7 @@
|
|
|
1371
1376
|
},
|
|
1372
1377
|
{
|
|
1373
1378
|
"type": "SYMBOL",
|
|
1374
|
-
"name": "
|
|
1379
|
+
"name": "_type"
|
|
1375
1380
|
}
|
|
1376
1381
|
]
|
|
1377
1382
|
}
|
|
@@ -1467,7 +1472,7 @@
|
|
|
1467
1472
|
"members": [
|
|
1468
1473
|
{
|
|
1469
1474
|
"type": "SYMBOL",
|
|
1470
|
-
"name": "
|
|
1475
|
+
"name": "_parameter"
|
|
1471
1476
|
},
|
|
1472
1477
|
{
|
|
1473
1478
|
"type": "REPEAT",
|
|
@@ -1480,7 +1485,7 @@
|
|
|
1480
1485
|
},
|
|
1481
1486
|
{
|
|
1482
1487
|
"type": "SYMBOL",
|
|
1483
|
-
"name": "
|
|
1488
|
+
"name": "_parameter"
|
|
1484
1489
|
}
|
|
1485
1490
|
]
|
|
1486
1491
|
}
|
|
@@ -1498,6 +1503,44 @@
|
|
|
1498
1503
|
}
|
|
1499
1504
|
]
|
|
1500
1505
|
},
|
|
1506
|
+
"_parameter": {
|
|
1507
|
+
"type": "CHOICE",
|
|
1508
|
+
"members": [
|
|
1509
|
+
{
|
|
1510
|
+
"type": "SYMBOL",
|
|
1511
|
+
"name": "typedIdentifier"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"type": "SYMBOL",
|
|
1515
|
+
"name": "blankIdentifier"
|
|
1516
|
+
}
|
|
1517
|
+
]
|
|
1518
|
+
},
|
|
1519
|
+
"typedIdentifier": {
|
|
1520
|
+
"type": "SEQ",
|
|
1521
|
+
"members": [
|
|
1522
|
+
{
|
|
1523
|
+
"type": "SYMBOL",
|
|
1524
|
+
"name": "identifier"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"type": "CHOICE",
|
|
1528
|
+
"members": [
|
|
1529
|
+
{
|
|
1530
|
+
"type": "SYMBOL",
|
|
1531
|
+
"name": "typeAnnotation"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"type": "BLANK"
|
|
1535
|
+
}
|
|
1536
|
+
]
|
|
1537
|
+
}
|
|
1538
|
+
]
|
|
1539
|
+
},
|
|
1540
|
+
"blankIdentifier": {
|
|
1541
|
+
"type": "STRING",
|
|
1542
|
+
"value": "_"
|
|
1543
|
+
},
|
|
1501
1544
|
"argumentList": {
|
|
1502
1545
|
"type": "SEQ",
|
|
1503
1546
|
"members": [
|
|
@@ -1587,81 +1630,63 @@
|
|
|
1587
1630
|
"members": [
|
|
1588
1631
|
{
|
|
1589
1632
|
"type": "SYMBOL",
|
|
1590
|
-
"name": "
|
|
1633
|
+
"name": "thisExpr"
|
|
1591
1634
|
},
|
|
1592
1635
|
{
|
|
1593
1636
|
"type": "SYMBOL",
|
|
1594
|
-
"name": "
|
|
1637
|
+
"name": "outerExpr"
|
|
1595
1638
|
},
|
|
1596
1639
|
{
|
|
1597
1640
|
"type": "SYMBOL",
|
|
1598
|
-
"name": "
|
|
1599
|
-
}
|
|
1600
|
-
]
|
|
1601
|
-
},
|
|
1602
|
-
"variableObjectLiteral": {
|
|
1603
|
-
"type": "PREC",
|
|
1604
|
-
"value": 2,
|
|
1605
|
-
"content": {
|
|
1606
|
-
"type": "SEQ",
|
|
1607
|
-
"members": [
|
|
1608
|
-
{
|
|
1609
|
-
"type": "SYMBOL",
|
|
1610
|
-
"name": "identifier"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"type": "SYMBOL",
|
|
1614
|
-
"name": "objectBody"
|
|
1615
|
-
}
|
|
1616
|
-
]
|
|
1617
|
-
}
|
|
1618
|
-
},
|
|
1619
|
-
"_expr2": {
|
|
1620
|
-
"type": "CHOICE",
|
|
1621
|
-
"members": [
|
|
1641
|
+
"name": "moduleExpr"
|
|
1642
|
+
},
|
|
1622
1643
|
{
|
|
1623
1644
|
"type": "SYMBOL",
|
|
1624
|
-
"name": "
|
|
1645
|
+
"name": "nullLiteralExpr"
|
|
1625
1646
|
},
|
|
1626
1647
|
{
|
|
1627
1648
|
"type": "SYMBOL",
|
|
1628
|
-
"name": "
|
|
1649
|
+
"name": "trueLiteralExpr"
|
|
1629
1650
|
},
|
|
1630
1651
|
{
|
|
1631
1652
|
"type": "SYMBOL",
|
|
1632
|
-
"name": "
|
|
1653
|
+
"name": "falseLiteralExpr"
|
|
1633
1654
|
},
|
|
1634
1655
|
{
|
|
1635
1656
|
"type": "SYMBOL",
|
|
1636
|
-
"name": "
|
|
1657
|
+
"name": "intLiteralExpr"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"type": "SYMBOL",
|
|
1661
|
+
"name": "floatLiteralExpr"
|
|
1637
1662
|
},
|
|
1638
1663
|
{
|
|
1639
1664
|
"type": "SYMBOL",
|
|
1640
|
-
"name": "
|
|
1665
|
+
"name": "throwExpr"
|
|
1641
1666
|
},
|
|
1642
1667
|
{
|
|
1643
1668
|
"type": "SYMBOL",
|
|
1644
|
-
"name": "
|
|
1669
|
+
"name": "traceExpr"
|
|
1645
1670
|
},
|
|
1646
1671
|
{
|
|
1647
1672
|
"type": "SYMBOL",
|
|
1648
|
-
"name": "
|
|
1673
|
+
"name": "importExpr"
|
|
1649
1674
|
},
|
|
1650
1675
|
{
|
|
1651
1676
|
"type": "SYMBOL",
|
|
1652
|
-
"name": "
|
|
1677
|
+
"name": "readExpr"
|
|
1653
1678
|
},
|
|
1654
1679
|
{
|
|
1655
1680
|
"type": "SYMBOL",
|
|
1656
|
-
"name": "
|
|
1681
|
+
"name": "unqualifiedAccessExpr"
|
|
1657
1682
|
},
|
|
1658
1683
|
{
|
|
1659
1684
|
"type": "SYMBOL",
|
|
1660
|
-
"name": "
|
|
1685
|
+
"name": "slStringLiteralExpr"
|
|
1661
1686
|
},
|
|
1662
1687
|
{
|
|
1663
1688
|
"type": "SYMBOL",
|
|
1664
|
-
"name": "
|
|
1689
|
+
"name": "mlStringLiteralExpr"
|
|
1665
1690
|
},
|
|
1666
1691
|
{
|
|
1667
1692
|
"type": "SYMBOL",
|
|
@@ -1669,15 +1694,19 @@
|
|
|
1669
1694
|
},
|
|
1670
1695
|
{
|
|
1671
1696
|
"type": "SYMBOL",
|
|
1672
|
-
"name": "
|
|
1697
|
+
"name": "amendExpr"
|
|
1673
1698
|
},
|
|
1674
1699
|
{
|
|
1675
1700
|
"type": "SYMBOL",
|
|
1676
|
-
"name": "
|
|
1701
|
+
"name": "superAccessExpr"
|
|
1677
1702
|
},
|
|
1678
1703
|
{
|
|
1679
1704
|
"type": "SYMBOL",
|
|
1680
|
-
"name": "
|
|
1705
|
+
"name": "superSubscriptExpr"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"type": "SYMBOL",
|
|
1709
|
+
"name": "qualifiedAccessExpr"
|
|
1681
1710
|
},
|
|
1682
1711
|
{
|
|
1683
1712
|
"type": "SYMBOL",
|
|
@@ -1685,63 +1714,75 @@
|
|
|
1685
1714
|
},
|
|
1686
1715
|
{
|
|
1687
1716
|
"type": "SYMBOL",
|
|
1688
|
-
"name": "
|
|
1717
|
+
"name": "nonNullExpr"
|
|
1689
1718
|
},
|
|
1690
1719
|
{
|
|
1691
1720
|
"type": "SYMBOL",
|
|
1692
|
-
"name": "
|
|
1721
|
+
"name": "unaryMinusExpr"
|
|
1693
1722
|
},
|
|
1694
1723
|
{
|
|
1695
1724
|
"type": "SYMBOL",
|
|
1696
|
-
"name": "
|
|
1725
|
+
"name": "logicalNotExpr"
|
|
1697
1726
|
},
|
|
1698
1727
|
{
|
|
1699
1728
|
"type": "SYMBOL",
|
|
1700
|
-
"name": "
|
|
1729
|
+
"name": "exponentiationExpr"
|
|
1701
1730
|
},
|
|
1702
1731
|
{
|
|
1703
1732
|
"type": "SYMBOL",
|
|
1704
|
-
"name": "
|
|
1733
|
+
"name": "multiplicativeExpr"
|
|
1705
1734
|
},
|
|
1706
1735
|
{
|
|
1707
1736
|
"type": "SYMBOL",
|
|
1708
|
-
"name": "
|
|
1737
|
+
"name": "additiveExpr"
|
|
1709
1738
|
},
|
|
1710
1739
|
{
|
|
1711
1740
|
"type": "SYMBOL",
|
|
1712
|
-
"name": "
|
|
1741
|
+
"name": "comparisonExpr"
|
|
1713
1742
|
},
|
|
1714
1743
|
{
|
|
1715
1744
|
"type": "SYMBOL",
|
|
1716
|
-
"name": "
|
|
1745
|
+
"name": "typeTestExpr"
|
|
1717
1746
|
},
|
|
1718
1747
|
{
|
|
1719
1748
|
"type": "SYMBOL",
|
|
1720
|
-
"name": "
|
|
1749
|
+
"name": "typeCastExpr"
|
|
1721
1750
|
},
|
|
1722
1751
|
{
|
|
1723
1752
|
"type": "SYMBOL",
|
|
1724
|
-
"name": "
|
|
1753
|
+
"name": "equalityExpr"
|
|
1725
1754
|
},
|
|
1726
1755
|
{
|
|
1727
1756
|
"type": "SYMBOL",
|
|
1728
|
-
"name": "
|
|
1757
|
+
"name": "logicalAndExpr"
|
|
1729
1758
|
},
|
|
1730
1759
|
{
|
|
1731
1760
|
"type": "SYMBOL",
|
|
1732
|
-
"name": "
|
|
1761
|
+
"name": "logicalOrExpr"
|
|
1733
1762
|
},
|
|
1734
1763
|
{
|
|
1735
1764
|
"type": "SYMBOL",
|
|
1736
|
-
"name": "
|
|
1765
|
+
"name": "pipeExpr"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"type": "SYMBOL",
|
|
1769
|
+
"name": "nullCoalesceExpr"
|
|
1737
1770
|
},
|
|
1738
1771
|
{
|
|
1739
1772
|
"type": "SYMBOL",
|
|
1740
|
-
"name": "
|
|
1773
|
+
"name": "ifExpr"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"type": "SYMBOL",
|
|
1777
|
+
"name": "letExpr"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"type": "SYMBOL",
|
|
1781
|
+
"name": "functionLiteralExpr"
|
|
1741
1782
|
},
|
|
1742
1783
|
{
|
|
1743
1784
|
"type": "SYMBOL",
|
|
1744
|
-
"name": "
|
|
1785
|
+
"name": "parenthesizedExpr"
|
|
1745
1786
|
}
|
|
1746
1787
|
]
|
|
1747
1788
|
},
|
|
@@ -1774,23 +1815,19 @@
|
|
|
1774
1815
|
"type": "STRING",
|
|
1775
1816
|
"value": "module"
|
|
1776
1817
|
},
|
|
1777
|
-
"
|
|
1778
|
-
"type": "SYMBOL",
|
|
1779
|
-
"name": "identifier"
|
|
1780
|
-
},
|
|
1781
|
-
"nullLiteral": {
|
|
1818
|
+
"nullLiteralExpr": {
|
|
1782
1819
|
"type": "STRING",
|
|
1783
1820
|
"value": "null"
|
|
1784
1821
|
},
|
|
1785
|
-
"
|
|
1822
|
+
"trueLiteralExpr": {
|
|
1786
1823
|
"type": "STRING",
|
|
1787
1824
|
"value": "true"
|
|
1788
1825
|
},
|
|
1789
|
-
"
|
|
1826
|
+
"falseLiteralExpr": {
|
|
1790
1827
|
"type": "STRING",
|
|
1791
1828
|
"value": "false"
|
|
1792
1829
|
},
|
|
1793
|
-
"
|
|
1830
|
+
"intLiteralExpr": {
|
|
1794
1831
|
"type": "TOKEN",
|
|
1795
1832
|
"content": {
|
|
1796
1833
|
"type": "CHOICE",
|
|
@@ -1862,7 +1899,7 @@
|
|
|
1862
1899
|
]
|
|
1863
1900
|
}
|
|
1864
1901
|
},
|
|
1865
|
-
"
|
|
1902
|
+
"floatLiteralExpr": {
|
|
1866
1903
|
"type": "TOKEN",
|
|
1867
1904
|
"content": {
|
|
1868
1905
|
"type": "CHOICE",
|
|
@@ -2116,7 +2153,7 @@
|
|
|
2116
2153
|
}
|
|
2117
2154
|
]
|
|
2118
2155
|
},
|
|
2119
|
-
"
|
|
2156
|
+
"slStringLiteralExpr": {
|
|
2120
2157
|
"type": "CHOICE",
|
|
2121
2158
|
"members": [
|
|
2122
2159
|
{
|
|
@@ -2141,7 +2178,7 @@
|
|
|
2141
2178
|
},
|
|
2142
2179
|
{
|
|
2143
2180
|
"type": "SYMBOL",
|
|
2144
|
-
"name": "
|
|
2181
|
+
"name": "stringInterpolation"
|
|
2145
2182
|
}
|
|
2146
2183
|
]
|
|
2147
2184
|
}
|
|
@@ -2186,10 +2223,10 @@
|
|
|
2186
2223
|
"type": "ALIAS",
|
|
2187
2224
|
"content": {
|
|
2188
2225
|
"type": "SYMBOL",
|
|
2189
|
-
"name": "
|
|
2226
|
+
"name": "stringInterpolation1"
|
|
2190
2227
|
},
|
|
2191
2228
|
"named": true,
|
|
2192
|
-
"value": "
|
|
2229
|
+
"value": "stringInterpolation"
|
|
2193
2230
|
}
|
|
2194
2231
|
]
|
|
2195
2232
|
}
|
|
@@ -2234,10 +2271,10 @@
|
|
|
2234
2271
|
"type": "ALIAS",
|
|
2235
2272
|
"content": {
|
|
2236
2273
|
"type": "SYMBOL",
|
|
2237
|
-
"name": "
|
|
2274
|
+
"name": "stringInterpolation2"
|
|
2238
2275
|
},
|
|
2239
2276
|
"named": true,
|
|
2240
|
-
"value": "
|
|
2277
|
+
"value": "stringInterpolation"
|
|
2241
2278
|
}
|
|
2242
2279
|
]
|
|
2243
2280
|
}
|
|
@@ -2282,10 +2319,10 @@
|
|
|
2282
2319
|
"type": "ALIAS",
|
|
2283
2320
|
"content": {
|
|
2284
2321
|
"type": "SYMBOL",
|
|
2285
|
-
"name": "
|
|
2322
|
+
"name": "stringInterpolation3"
|
|
2286
2323
|
},
|
|
2287
2324
|
"named": true,
|
|
2288
|
-
"value": "
|
|
2325
|
+
"value": "stringInterpolation"
|
|
2289
2326
|
}
|
|
2290
2327
|
]
|
|
2291
2328
|
}
|
|
@@ -2330,10 +2367,10 @@
|
|
|
2330
2367
|
"type": "ALIAS",
|
|
2331
2368
|
"content": {
|
|
2332
2369
|
"type": "SYMBOL",
|
|
2333
|
-
"name": "
|
|
2370
|
+
"name": "stringInterpolation4"
|
|
2334
2371
|
},
|
|
2335
2372
|
"named": true,
|
|
2336
|
-
"value": "
|
|
2373
|
+
"value": "stringInterpolation"
|
|
2337
2374
|
}
|
|
2338
2375
|
]
|
|
2339
2376
|
}
|
|
@@ -2378,10 +2415,10 @@
|
|
|
2378
2415
|
"type": "ALIAS",
|
|
2379
2416
|
"content": {
|
|
2380
2417
|
"type": "SYMBOL",
|
|
2381
|
-
"name": "
|
|
2418
|
+
"name": "stringInterpolation5"
|
|
2382
2419
|
},
|
|
2383
2420
|
"named": true,
|
|
2384
|
-
"value": "
|
|
2421
|
+
"value": "stringInterpolation"
|
|
2385
2422
|
}
|
|
2386
2423
|
]
|
|
2387
2424
|
}
|
|
@@ -2426,10 +2463,10 @@
|
|
|
2426
2463
|
"type": "ALIAS",
|
|
2427
2464
|
"content": {
|
|
2428
2465
|
"type": "SYMBOL",
|
|
2429
|
-
"name": "
|
|
2466
|
+
"name": "stringInterpolation6"
|
|
2430
2467
|
},
|
|
2431
2468
|
"named": true,
|
|
2432
|
-
"value": "
|
|
2469
|
+
"value": "stringInterpolation"
|
|
2433
2470
|
}
|
|
2434
2471
|
]
|
|
2435
2472
|
}
|
|
@@ -2470,7 +2507,7 @@
|
|
|
2470
2507
|
"type": "SYMBOL",
|
|
2471
2508
|
"name": "_sl6_string_chars"
|
|
2472
2509
|
},
|
|
2473
|
-
"
|
|
2510
|
+
"mlStringLiteralExpr": {
|
|
2474
2511
|
"type": "CHOICE",
|
|
2475
2512
|
"members": [
|
|
2476
2513
|
{
|
|
@@ -2495,7 +2532,7 @@
|
|
|
2495
2532
|
},
|
|
2496
2533
|
{
|
|
2497
2534
|
"type": "SYMBOL",
|
|
2498
|
-
"name": "
|
|
2535
|
+
"name": "stringInterpolation"
|
|
2499
2536
|
}
|
|
2500
2537
|
]
|
|
2501
2538
|
}
|
|
@@ -2540,10 +2577,10 @@
|
|
|
2540
2577
|
"type": "ALIAS",
|
|
2541
2578
|
"content": {
|
|
2542
2579
|
"type": "SYMBOL",
|
|
2543
|
-
"name": "
|
|
2580
|
+
"name": "stringInterpolation1"
|
|
2544
2581
|
},
|
|
2545
2582
|
"named": true,
|
|
2546
|
-
"value": "
|
|
2583
|
+
"value": "stringInterpolation"
|
|
2547
2584
|
}
|
|
2548
2585
|
]
|
|
2549
2586
|
}
|
|
@@ -2588,10 +2625,10 @@
|
|
|
2588
2625
|
"type": "ALIAS",
|
|
2589
2626
|
"content": {
|
|
2590
2627
|
"type": "SYMBOL",
|
|
2591
|
-
"name": "
|
|
2628
|
+
"name": "stringInterpolation2"
|
|
2592
2629
|
},
|
|
2593
2630
|
"named": true,
|
|
2594
|
-
"value": "
|
|
2631
|
+
"value": "stringInterpolation"
|
|
2595
2632
|
}
|
|
2596
2633
|
]
|
|
2597
2634
|
}
|
|
@@ -2636,10 +2673,10 @@
|
|
|
2636
2673
|
"type": "ALIAS",
|
|
2637
2674
|
"content": {
|
|
2638
2675
|
"type": "SYMBOL",
|
|
2639
|
-
"name": "
|
|
2676
|
+
"name": "stringInterpolation3"
|
|
2640
2677
|
},
|
|
2641
2678
|
"named": true,
|
|
2642
|
-
"value": "
|
|
2679
|
+
"value": "stringInterpolation"
|
|
2643
2680
|
}
|
|
2644
2681
|
]
|
|
2645
2682
|
}
|
|
@@ -2684,10 +2721,10 @@
|
|
|
2684
2721
|
"type": "ALIAS",
|
|
2685
2722
|
"content": {
|
|
2686
2723
|
"type": "SYMBOL",
|
|
2687
|
-
"name": "
|
|
2724
|
+
"name": "stringInterpolation4"
|
|
2688
2725
|
},
|
|
2689
2726
|
"named": true,
|
|
2690
|
-
"value": "
|
|
2727
|
+
"value": "stringInterpolation"
|
|
2691
2728
|
}
|
|
2692
2729
|
]
|
|
2693
2730
|
}
|
|
@@ -2732,10 +2769,10 @@
|
|
|
2732
2769
|
"type": "ALIAS",
|
|
2733
2770
|
"content": {
|
|
2734
2771
|
"type": "SYMBOL",
|
|
2735
|
-
"name": "
|
|
2772
|
+
"name": "stringInterpolation5"
|
|
2736
2773
|
},
|
|
2737
2774
|
"named": true,
|
|
2738
|
-
"value": "
|
|
2775
|
+
"value": "stringInterpolation"
|
|
2739
2776
|
}
|
|
2740
2777
|
]
|
|
2741
2778
|
}
|
|
@@ -2780,10 +2817,10 @@
|
|
|
2780
2817
|
"type": "ALIAS",
|
|
2781
2818
|
"content": {
|
|
2782
2819
|
"type": "SYMBOL",
|
|
2783
|
-
"name": "
|
|
2820
|
+
"name": "stringInterpolation6"
|
|
2784
2821
|
},
|
|
2785
2822
|
"named": true,
|
|
2786
|
-
"value": "
|
|
2823
|
+
"value": "stringInterpolation"
|
|
2787
2824
|
}
|
|
2788
2825
|
]
|
|
2789
2826
|
}
|
|
@@ -2842,7 +2879,7 @@
|
|
|
2842
2879
|
},
|
|
2843
2880
|
{
|
|
2844
2881
|
"type": "PATTERN",
|
|
2845
|
-
"value": "u\\{[0-9a-fA-F]
|
|
2882
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2846
2883
|
}
|
|
2847
2884
|
]
|
|
2848
2885
|
}
|
|
@@ -2867,7 +2904,7 @@
|
|
|
2867
2904
|
},
|
|
2868
2905
|
{
|
|
2869
2906
|
"type": "PATTERN",
|
|
2870
|
-
"value": "u\\{[0-9a-fA-F]
|
|
2907
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2871
2908
|
}
|
|
2872
2909
|
]
|
|
2873
2910
|
}
|
|
@@ -2892,7 +2929,7 @@
|
|
|
2892
2929
|
},
|
|
2893
2930
|
{
|
|
2894
2931
|
"type": "PATTERN",
|
|
2895
|
-
"value": "u\\{[0-9a-fA-F]
|
|
2932
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2896
2933
|
}
|
|
2897
2934
|
]
|
|
2898
2935
|
}
|
|
@@ -2917,7 +2954,7 @@
|
|
|
2917
2954
|
},
|
|
2918
2955
|
{
|
|
2919
2956
|
"type": "PATTERN",
|
|
2920
|
-
"value": "u\\{[0-9a-fA-F]
|
|
2957
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2921
2958
|
}
|
|
2922
2959
|
]
|
|
2923
2960
|
}
|
|
@@ -2942,7 +2979,7 @@
|
|
|
2942
2979
|
},
|
|
2943
2980
|
{
|
|
2944
2981
|
"type": "PATTERN",
|
|
2945
|
-
"value": "u\\{[0-9a-fA-F]
|
|
2982
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2946
2983
|
}
|
|
2947
2984
|
]
|
|
2948
2985
|
}
|
|
@@ -2967,7 +3004,7 @@
|
|
|
2967
3004
|
},
|
|
2968
3005
|
{
|
|
2969
3006
|
"type": "PATTERN",
|
|
2970
|
-
"value": "u\\{[0-9a-fA-F]
|
|
3007
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2971
3008
|
}
|
|
2972
3009
|
]
|
|
2973
3010
|
}
|
|
@@ -2992,14 +3029,14 @@
|
|
|
2992
3029
|
},
|
|
2993
3030
|
{
|
|
2994
3031
|
"type": "PATTERN",
|
|
2995
|
-
"value": "u\\{[0-9a-fA-F]
|
|
3032
|
+
"value": "u\\{[0-9a-fA-F]+}"
|
|
2996
3033
|
}
|
|
2997
3034
|
]
|
|
2998
3035
|
}
|
|
2999
3036
|
]
|
|
3000
3037
|
}
|
|
3001
3038
|
},
|
|
3002
|
-
"
|
|
3039
|
+
"stringInterpolation": {
|
|
3003
3040
|
"type": "SEQ",
|
|
3004
3041
|
"members": [
|
|
3005
3042
|
{
|
|
@@ -3019,7 +3056,7 @@
|
|
|
3019
3056
|
}
|
|
3020
3057
|
]
|
|
3021
3058
|
},
|
|
3022
|
-
"
|
|
3059
|
+
"stringInterpolation1": {
|
|
3023
3060
|
"type": "SEQ",
|
|
3024
3061
|
"members": [
|
|
3025
3062
|
{
|
|
@@ -3039,7 +3076,7 @@
|
|
|
3039
3076
|
}
|
|
3040
3077
|
]
|
|
3041
3078
|
},
|
|
3042
|
-
"
|
|
3079
|
+
"stringInterpolation2": {
|
|
3043
3080
|
"type": "SEQ",
|
|
3044
3081
|
"members": [
|
|
3045
3082
|
{
|
|
@@ -3059,7 +3096,7 @@
|
|
|
3059
3096
|
}
|
|
3060
3097
|
]
|
|
3061
3098
|
},
|
|
3062
|
-
"
|
|
3099
|
+
"stringInterpolation3": {
|
|
3063
3100
|
"type": "SEQ",
|
|
3064
3101
|
"members": [
|
|
3065
3102
|
{
|
|
@@ -3079,7 +3116,7 @@
|
|
|
3079
3116
|
}
|
|
3080
3117
|
]
|
|
3081
3118
|
},
|
|
3082
|
-
"
|
|
3119
|
+
"stringInterpolation4": {
|
|
3083
3120
|
"type": "SEQ",
|
|
3084
3121
|
"members": [
|
|
3085
3122
|
{
|
|
@@ -3099,7 +3136,7 @@
|
|
|
3099
3136
|
}
|
|
3100
3137
|
]
|
|
3101
3138
|
},
|
|
3102
|
-
"
|
|
3139
|
+
"stringInterpolation5": {
|
|
3103
3140
|
"type": "SEQ",
|
|
3104
3141
|
"members": [
|
|
3105
3142
|
{
|
|
@@ -3119,7 +3156,7 @@
|
|
|
3119
3156
|
}
|
|
3120
3157
|
]
|
|
3121
3158
|
},
|
|
3122
|
-
"
|
|
3159
|
+
"stringInterpolation6": {
|
|
3123
3160
|
"type": "SEQ",
|
|
3124
3161
|
"members": [
|
|
3125
3162
|
{
|
|
@@ -3151,7 +3188,7 @@
|
|
|
3151
3188
|
"members": [
|
|
3152
3189
|
{
|
|
3153
3190
|
"type": "SYMBOL",
|
|
3154
|
-
"name": "
|
|
3191
|
+
"name": "_type"
|
|
3155
3192
|
},
|
|
3156
3193
|
{
|
|
3157
3194
|
"type": "BLANK"
|
|
@@ -3164,15 +3201,32 @@
|
|
|
3164
3201
|
}
|
|
3165
3202
|
]
|
|
3166
3203
|
},
|
|
3167
|
-
"
|
|
3204
|
+
"amendExpr": {
|
|
3168
3205
|
"type": "PREC",
|
|
3169
3206
|
"value": 1,
|
|
3170
3207
|
"content": {
|
|
3171
3208
|
"type": "SEQ",
|
|
3172
3209
|
"members": [
|
|
3173
3210
|
{
|
|
3174
|
-
"type": "
|
|
3175
|
-
"name": "
|
|
3211
|
+
"type": "FIELD",
|
|
3212
|
+
"name": "parent",
|
|
3213
|
+
"content": {
|
|
3214
|
+
"type": "CHOICE",
|
|
3215
|
+
"members": [
|
|
3216
|
+
{
|
|
3217
|
+
"type": "SYMBOL",
|
|
3218
|
+
"name": "newExpr"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"type": "SYMBOL",
|
|
3222
|
+
"name": "amendExpr"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"type": "SYMBOL",
|
|
3226
|
+
"name": "parenthesizedExpr"
|
|
3227
|
+
}
|
|
3228
|
+
]
|
|
3229
|
+
}
|
|
3176
3230
|
},
|
|
3177
3231
|
{
|
|
3178
3232
|
"type": "SYMBOL",
|
|
@@ -3181,645 +3235,374 @@
|
|
|
3181
3235
|
]
|
|
3182
3236
|
}
|
|
3183
3237
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"type": "
|
|
3186
|
-
"
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
"content": {
|
|
3197
|
-
"type": "CHOICE",
|
|
3198
|
-
"members": [
|
|
3199
|
-
{
|
|
3200
|
-
"type": "STRING",
|
|
3201
|
-
"value": "super"
|
|
3202
|
-
},
|
|
3203
|
-
{
|
|
3204
|
-
"type": "SYMBOL",
|
|
3205
|
-
"name": "_expr"
|
|
3206
|
-
}
|
|
3207
|
-
]
|
|
3208
|
-
}
|
|
3209
|
-
},
|
|
3210
|
-
{
|
|
3211
|
-
"type": "CHOICE",
|
|
3212
|
-
"members": [
|
|
3213
|
-
{
|
|
3214
|
-
"type": "STRING",
|
|
3215
|
-
"value": "."
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
"type": "STRING",
|
|
3219
|
-
"value": "?."
|
|
3220
|
-
}
|
|
3221
|
-
]
|
|
3222
|
-
}
|
|
3223
|
-
]
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"type": "BLANK"
|
|
3227
|
-
}
|
|
3228
|
-
]
|
|
3229
|
-
},
|
|
3230
|
-
{
|
|
3231
|
-
"type": "SYMBOL",
|
|
3232
|
-
"name": "identifier"
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"type": "SYMBOL",
|
|
3236
|
-
"name": "argumentList"
|
|
3237
|
-
}
|
|
3238
|
-
]
|
|
3239
|
-
},
|
|
3240
|
-
"propertyCallExpr": {
|
|
3241
|
-
"type": "SEQ",
|
|
3242
|
-
"members": [
|
|
3243
|
-
{
|
|
3244
|
-
"type": "FIELD",
|
|
3245
|
-
"name": "receiver",
|
|
3246
|
-
"content": {
|
|
3247
|
-
"type": "CHOICE",
|
|
3248
|
-
"members": [
|
|
3249
|
-
{
|
|
3250
|
-
"type": "STRING",
|
|
3251
|
-
"value": "super"
|
|
3252
|
-
},
|
|
3253
|
-
{
|
|
3254
|
-
"type": "SYMBOL",
|
|
3255
|
-
"name": "_expr"
|
|
3256
|
-
}
|
|
3257
|
-
]
|
|
3258
|
-
}
|
|
3259
|
-
},
|
|
3260
|
-
{
|
|
3261
|
-
"type": "CHOICE",
|
|
3262
|
-
"members": [
|
|
3263
|
-
{
|
|
3264
|
-
"type": "STRING",
|
|
3265
|
-
"value": "."
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"type": "STRING",
|
|
3269
|
-
"value": "?."
|
|
3238
|
+
"subscriptExpr": {
|
|
3239
|
+
"type": "PREC_LEFT",
|
|
3240
|
+
"value": 22,
|
|
3241
|
+
"content": {
|
|
3242
|
+
"type": "SEQ",
|
|
3243
|
+
"members": [
|
|
3244
|
+
{
|
|
3245
|
+
"type": "FIELD",
|
|
3246
|
+
"name": "receiver",
|
|
3247
|
+
"content": {
|
|
3248
|
+
"type": "SYMBOL",
|
|
3249
|
+
"name": "_expr"
|
|
3270
3250
|
}
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
"members": [
|
|
3276
|
-
{
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"type": "ALIAS",
|
|
3254
|
+
"content": {
|
|
3277
3255
|
"type": "SYMBOL",
|
|
3278
|
-
"name": "
|
|
3256
|
+
"name": "_open_subscript_bracket"
|
|
3279
3257
|
},
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
"type": "STRING",
|
|
3285
|
-
"value": "\n"
|
|
3286
|
-
}
|
|
3287
|
-
}
|
|
3288
|
-
]
|
|
3289
|
-
}
|
|
3290
|
-
]
|
|
3291
|
-
},
|
|
3292
|
-
"subscriptExpr": {
|
|
3293
|
-
"type": "SEQ",
|
|
3294
|
-
"members": [
|
|
3295
|
-
{
|
|
3296
|
-
"type": "FIELD",
|
|
3297
|
-
"name": "receiver",
|
|
3298
|
-
"content": {
|
|
3299
|
-
"type": "CHOICE",
|
|
3300
|
-
"members": [
|
|
3301
|
-
{
|
|
3302
|
-
"type": "STRING",
|
|
3303
|
-
"value": "super"
|
|
3304
|
-
},
|
|
3305
|
-
{
|
|
3306
|
-
"type": "SYMBOL",
|
|
3307
|
-
"name": "_expr"
|
|
3308
|
-
}
|
|
3309
|
-
]
|
|
3310
|
-
}
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
"type": "ALIAS",
|
|
3314
|
-
"content": {
|
|
3258
|
+
"named": false,
|
|
3259
|
+
"value": "["
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3315
3262
|
"type": "SYMBOL",
|
|
3316
|
-
"name": "
|
|
3263
|
+
"name": "_expr"
|
|
3317
3264
|
},
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
},
|
|
3325
|
-
{
|
|
3326
|
-
"type": "STRING",
|
|
3327
|
-
"value": "]"
|
|
3328
|
-
}
|
|
3329
|
-
]
|
|
3265
|
+
{
|
|
3266
|
+
"type": "STRING",
|
|
3267
|
+
"value": "]"
|
|
3268
|
+
}
|
|
3269
|
+
]
|
|
3270
|
+
}
|
|
3330
3271
|
},
|
|
3331
|
-
"
|
|
3332
|
-
"type": "
|
|
3333
|
-
"
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
"type": "
|
|
3339
|
-
"
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
{
|
|
3345
|
-
"type": "STRING",
|
|
3346
|
-
"value": "!!"
|
|
3347
|
-
}
|
|
3348
|
-
]
|
|
3272
|
+
"unaryMinusExpr": {
|
|
3273
|
+
"type": "PREC_LEFT",
|
|
3274
|
+
"value": 20,
|
|
3275
|
+
"content": {
|
|
3276
|
+
"type": "SEQ",
|
|
3277
|
+
"members": [
|
|
3278
|
+
{
|
|
3279
|
+
"type": "STRING",
|
|
3280
|
+
"value": "-"
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"type": "SYMBOL",
|
|
3284
|
+
"name": "_expr"
|
|
3349
3285
|
}
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3286
|
+
]
|
|
3287
|
+
}
|
|
3288
|
+
},
|
|
3289
|
+
"logicalNotExpr": {
|
|
3290
|
+
"type": "PREC_LEFT",
|
|
3291
|
+
"value": 19,
|
|
3292
|
+
"content": {
|
|
3293
|
+
"type": "SEQ",
|
|
3294
|
+
"members": [
|
|
3295
|
+
{
|
|
3296
|
+
"type": "STRING",
|
|
3297
|
+
"value": "!"
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"type": "SYMBOL",
|
|
3301
|
+
"name": "_expr"
|
|
3366
3302
|
}
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3303
|
+
]
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
"nonNullExpr": {
|
|
3307
|
+
"type": "PREC_LEFT",
|
|
3308
|
+
"value": 21,
|
|
3309
|
+
"content": {
|
|
3310
|
+
"type": "SEQ",
|
|
3311
|
+
"members": [
|
|
3312
|
+
{
|
|
3313
|
+
"type": "SYMBOL",
|
|
3314
|
+
"name": "_expr"
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"type": "STRING",
|
|
3318
|
+
"value": "!!"
|
|
3383
3319
|
}
|
|
3384
|
-
|
|
3385
|
-
|
|
3320
|
+
]
|
|
3321
|
+
}
|
|
3386
3322
|
},
|
|
3387
|
-
"
|
|
3388
|
-
"type": "
|
|
3389
|
-
"
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
"type": "
|
|
3395
|
-
"
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
{
|
|
3409
|
-
"type": "SYMBOL",
|
|
3410
|
-
"name": "_expr"
|
|
3411
|
-
}
|
|
3412
|
-
]
|
|
3323
|
+
"nullCoalesceExpr": {
|
|
3324
|
+
"type": "PREC_RIGHT",
|
|
3325
|
+
"value": 8,
|
|
3326
|
+
"content": {
|
|
3327
|
+
"type": "SEQ",
|
|
3328
|
+
"members": [
|
|
3329
|
+
{
|
|
3330
|
+
"type": "SYMBOL",
|
|
3331
|
+
"name": "_expr"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"type": "FIELD",
|
|
3335
|
+
"name": "operator",
|
|
3336
|
+
"content": {
|
|
3337
|
+
"type": "STRING",
|
|
3338
|
+
"value": "??"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"type": "SYMBOL",
|
|
3343
|
+
"name": "_expr"
|
|
3413
3344
|
}
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3345
|
+
]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"exponentiationExpr": {
|
|
3349
|
+
"type": "PREC_RIGHT",
|
|
3350
|
+
"value": 18,
|
|
3351
|
+
"content": {
|
|
3352
|
+
"type": "SEQ",
|
|
3353
|
+
"members": [
|
|
3354
|
+
{
|
|
3355
|
+
"type": "SYMBOL",
|
|
3356
|
+
"name": "_expr"
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"type": "FIELD",
|
|
3360
|
+
"name": "operator",
|
|
3361
|
+
"content": {
|
|
3362
|
+
"type": "STRING",
|
|
3363
|
+
"value": "**"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
"type": "SYMBOL",
|
|
3368
|
+
"name": "_expr"
|
|
3438
3369
|
}
|
|
3439
|
-
|
|
3440
|
-
|
|
3370
|
+
]
|
|
3371
|
+
}
|
|
3441
3372
|
},
|
|
3442
|
-
"
|
|
3443
|
-
"type": "
|
|
3444
|
-
"
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
"type": "
|
|
3450
|
-
"
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3373
|
+
"multiplicativeExpr": {
|
|
3374
|
+
"type": "PREC_LEFT",
|
|
3375
|
+
"value": 17,
|
|
3376
|
+
"content": {
|
|
3377
|
+
"type": "SEQ",
|
|
3378
|
+
"members": [
|
|
3379
|
+
{
|
|
3380
|
+
"type": "SYMBOL",
|
|
3381
|
+
"name": "_expr"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"type": "FIELD",
|
|
3385
|
+
"name": "operator",
|
|
3386
|
+
"content": {
|
|
3387
|
+
"type": "CHOICE",
|
|
3388
|
+
"members": [
|
|
3389
|
+
{
|
|
3459
3390
|
"type": "STRING",
|
|
3460
3391
|
"value": "*"
|
|
3461
|
-
}
|
|
3462
|
-
|
|
3463
|
-
{
|
|
3464
|
-
"type": "SYMBOL",
|
|
3465
|
-
"name": "_expr"
|
|
3466
|
-
}
|
|
3467
|
-
]
|
|
3468
|
-
}
|
|
3469
|
-
},
|
|
3470
|
-
{
|
|
3471
|
-
"type": "PREC_LEFT",
|
|
3472
|
-
"value": 17,
|
|
3473
|
-
"content": {
|
|
3474
|
-
"type": "SEQ",
|
|
3475
|
-
"members": [
|
|
3476
|
-
{
|
|
3477
|
-
"type": "SYMBOL",
|
|
3478
|
-
"name": "_expr"
|
|
3479
|
-
},
|
|
3480
|
-
{
|
|
3481
|
-
"type": "FIELD",
|
|
3482
|
-
"name": "operator",
|
|
3483
|
-
"content": {
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3484
3394
|
"type": "STRING",
|
|
3485
3395
|
"value": "/"
|
|
3486
|
-
}
|
|
3487
|
-
|
|
3488
|
-
{
|
|
3489
|
-
"type": "SYMBOL",
|
|
3490
|
-
"name": "_expr"
|
|
3491
|
-
}
|
|
3492
|
-
]
|
|
3493
|
-
}
|
|
3494
|
-
},
|
|
3495
|
-
{
|
|
3496
|
-
"type": "PREC_LEFT",
|
|
3497
|
-
"value": 17,
|
|
3498
|
-
"content": {
|
|
3499
|
-
"type": "SEQ",
|
|
3500
|
-
"members": [
|
|
3501
|
-
{
|
|
3502
|
-
"type": "SYMBOL",
|
|
3503
|
-
"name": "_expr"
|
|
3504
|
-
},
|
|
3505
|
-
{
|
|
3506
|
-
"type": "FIELD",
|
|
3507
|
-
"name": "operator",
|
|
3508
|
-
"content": {
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3509
3398
|
"type": "STRING",
|
|
3510
3399
|
"value": "~/"
|
|
3511
|
-
}
|
|
3512
|
-
|
|
3513
|
-
{
|
|
3514
|
-
"type": "SYMBOL",
|
|
3515
|
-
"name": "_expr"
|
|
3516
|
-
}
|
|
3517
|
-
]
|
|
3518
|
-
}
|
|
3519
|
-
},
|
|
3520
|
-
{
|
|
3521
|
-
"type": "PREC_LEFT",
|
|
3522
|
-
"value": 17,
|
|
3523
|
-
"content": {
|
|
3524
|
-
"type": "SEQ",
|
|
3525
|
-
"members": [
|
|
3526
|
-
{
|
|
3527
|
-
"type": "SYMBOL",
|
|
3528
|
-
"name": "_expr"
|
|
3529
|
-
},
|
|
3530
|
-
{
|
|
3531
|
-
"type": "FIELD",
|
|
3532
|
-
"name": "operator",
|
|
3533
|
-
"content": {
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3534
3402
|
"type": "STRING",
|
|
3535
3403
|
"value": "%"
|
|
3536
3404
|
}
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3405
|
+
]
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"type": "SYMBOL",
|
|
3410
|
+
"name": "_expr"
|
|
3543
3411
|
}
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3412
|
+
]
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
"additiveExpr": {
|
|
3416
|
+
"type": "PREC_LEFT",
|
|
3417
|
+
"value": 16,
|
|
3418
|
+
"content": {
|
|
3419
|
+
"type": "SEQ",
|
|
3420
|
+
"members": [
|
|
3421
|
+
{
|
|
3422
|
+
"type": "SYMBOL",
|
|
3423
|
+
"name": "_expr"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"type": "FIELD",
|
|
3427
|
+
"name": "operator",
|
|
3428
|
+
"content": {
|
|
3429
|
+
"type": "CHOICE",
|
|
3430
|
+
"members": [
|
|
3431
|
+
{
|
|
3559
3432
|
"type": "STRING",
|
|
3560
3433
|
"value": "+"
|
|
3561
|
-
}
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
},
|
|
3570
|
-
{
|
|
3571
|
-
"type": "PREC_LEFT",
|
|
3572
|
-
"value": 16,
|
|
3573
|
-
"content": {
|
|
3574
|
-
"type": "SEQ",
|
|
3575
|
-
"members": [
|
|
3576
|
-
{
|
|
3577
|
-
"type": "SYMBOL",
|
|
3578
|
-
"name": "_expr"
|
|
3579
|
-
},
|
|
3580
|
-
{
|
|
3581
|
-
"type": "FIELD",
|
|
3582
|
-
"name": "operator",
|
|
3583
|
-
"content": {
|
|
3584
|
-
"type": "STRING",
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"type": "ALIAS",
|
|
3437
|
+
"content": {
|
|
3438
|
+
"type": "SYMBOL",
|
|
3439
|
+
"name": "_binary_minus"
|
|
3440
|
+
},
|
|
3441
|
+
"named": false,
|
|
3585
3442
|
"value": "-"
|
|
3586
3443
|
}
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3444
|
+
]
|
|
3445
|
+
}
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"type": "SYMBOL",
|
|
3449
|
+
"name": "_expr"
|
|
3593
3450
|
}
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3451
|
+
]
|
|
3452
|
+
}
|
|
3453
|
+
},
|
|
3454
|
+
"comparisonExpr": {
|
|
3455
|
+
"type": "PREC_LEFT",
|
|
3456
|
+
"value": 15,
|
|
3457
|
+
"content": {
|
|
3458
|
+
"type": "SEQ",
|
|
3459
|
+
"members": [
|
|
3460
|
+
{
|
|
3461
|
+
"type": "SYMBOL",
|
|
3462
|
+
"name": "_expr"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"type": "FIELD",
|
|
3466
|
+
"name": "operator",
|
|
3467
|
+
"content": {
|
|
3468
|
+
"type": "CHOICE",
|
|
3469
|
+
"members": [
|
|
3470
|
+
{
|
|
3609
3471
|
"type": "STRING",
|
|
3610
3472
|
"value": "<"
|
|
3611
|
-
}
|
|
3612
|
-
|
|
3613
|
-
{
|
|
3614
|
-
"type": "SYMBOL",
|
|
3615
|
-
"name": "_expr"
|
|
3616
|
-
}
|
|
3617
|
-
]
|
|
3618
|
-
}
|
|
3619
|
-
},
|
|
3620
|
-
{
|
|
3621
|
-
"type": "PREC_LEFT",
|
|
3622
|
-
"value": 15,
|
|
3623
|
-
"content": {
|
|
3624
|
-
"type": "SEQ",
|
|
3625
|
-
"members": [
|
|
3626
|
-
{
|
|
3627
|
-
"type": "SYMBOL",
|
|
3628
|
-
"name": "_expr"
|
|
3629
|
-
},
|
|
3630
|
-
{
|
|
3631
|
-
"type": "FIELD",
|
|
3632
|
-
"name": "operator",
|
|
3633
|
-
"content": {
|
|
3473
|
+
},
|
|
3474
|
+
{
|
|
3634
3475
|
"type": "STRING",
|
|
3635
3476
|
"value": "<="
|
|
3636
|
-
}
|
|
3637
|
-
|
|
3638
|
-
{
|
|
3639
|
-
"type": "SYMBOL",
|
|
3640
|
-
"name": "_expr"
|
|
3641
|
-
}
|
|
3642
|
-
]
|
|
3643
|
-
}
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"type": "PREC_LEFT",
|
|
3647
|
-
"value": 15,
|
|
3648
|
-
"content": {
|
|
3649
|
-
"type": "SEQ",
|
|
3650
|
-
"members": [
|
|
3651
|
-
{
|
|
3652
|
-
"type": "SYMBOL",
|
|
3653
|
-
"name": "_expr"
|
|
3654
|
-
},
|
|
3655
|
-
{
|
|
3656
|
-
"type": "FIELD",
|
|
3657
|
-
"name": "operator",
|
|
3658
|
-
"content": {
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3659
3479
|
"type": "STRING",
|
|
3660
3480
|
"value": ">="
|
|
3661
|
-
}
|
|
3662
|
-
|
|
3663
|
-
{
|
|
3664
|
-
"type": "SYMBOL",
|
|
3665
|
-
"name": "_expr"
|
|
3666
|
-
}
|
|
3667
|
-
]
|
|
3668
|
-
}
|
|
3669
|
-
},
|
|
3670
|
-
{
|
|
3671
|
-
"type": "PREC_LEFT",
|
|
3672
|
-
"value": 15,
|
|
3673
|
-
"content": {
|
|
3674
|
-
"type": "SEQ",
|
|
3675
|
-
"members": [
|
|
3676
|
-
{
|
|
3677
|
-
"type": "SYMBOL",
|
|
3678
|
-
"name": "_expr"
|
|
3679
|
-
},
|
|
3680
|
-
{
|
|
3681
|
-
"type": "FIELD",
|
|
3682
|
-
"name": "operator",
|
|
3683
|
-
"content": {
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3684
3483
|
"type": "STRING",
|
|
3685
3484
|
"value": ">"
|
|
3686
3485
|
}
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3486
|
+
]
|
|
3487
|
+
}
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"type": "SYMBOL",
|
|
3491
|
+
"name": "_expr"
|
|
3693
3492
|
}
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3493
|
+
]
|
|
3494
|
+
}
|
|
3495
|
+
},
|
|
3496
|
+
"equalityExpr": {
|
|
3497
|
+
"type": "PREC_LEFT",
|
|
3498
|
+
"value": 12,
|
|
3499
|
+
"content": {
|
|
3500
|
+
"type": "SEQ",
|
|
3501
|
+
"members": [
|
|
3502
|
+
{
|
|
3503
|
+
"type": "SYMBOL",
|
|
3504
|
+
"name": "_expr"
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"type": "FIELD",
|
|
3508
|
+
"name": "operator",
|
|
3509
|
+
"content": {
|
|
3510
|
+
"type": "CHOICE",
|
|
3511
|
+
"members": [
|
|
3512
|
+
{
|
|
3709
3513
|
"type": "STRING",
|
|
3710
3514
|
"value": "=="
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
|
-
{
|
|
3714
|
-
"type": "SYMBOL",
|
|
3715
|
-
"name": "_expr"
|
|
3716
|
-
}
|
|
3717
|
-
]
|
|
3718
|
-
}
|
|
3719
|
-
},
|
|
3720
|
-
{
|
|
3721
|
-
"type": "PREC_LEFT",
|
|
3722
|
-
"value": 12,
|
|
3723
|
-
"content": {
|
|
3724
|
-
"type": "SEQ",
|
|
3725
|
-
"members": [
|
|
3726
|
-
{
|
|
3727
|
-
"type": "SYMBOL",
|
|
3728
|
-
"name": "_expr"
|
|
3729
|
-
},
|
|
3730
|
-
{
|
|
3731
|
-
"type": "FIELD",
|
|
3732
|
-
"name": "operator",
|
|
3733
|
-
"content": {
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3734
3517
|
"type": "STRING",
|
|
3735
3518
|
"value": "!="
|
|
3736
3519
|
}
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
}
|
|
3744
|
-
},
|
|
3745
|
-
{
|
|
3746
|
-
"type": "PREC_LEFT",
|
|
3747
|
-
"value": 11,
|
|
3748
|
-
"content": {
|
|
3749
|
-
"type": "SEQ",
|
|
3750
|
-
"members": [
|
|
3751
|
-
{
|
|
3752
|
-
"type": "SYMBOL",
|
|
3753
|
-
"name": "_expr"
|
|
3754
|
-
},
|
|
3755
|
-
{
|
|
3756
|
-
"type": "FIELD",
|
|
3757
|
-
"name": "operator",
|
|
3758
|
-
"content": {
|
|
3759
|
-
"type": "STRING",
|
|
3760
|
-
"value": "&&"
|
|
3761
|
-
}
|
|
3762
|
-
},
|
|
3763
|
-
{
|
|
3764
|
-
"type": "SYMBOL",
|
|
3765
|
-
"name": "_expr"
|
|
3766
|
-
}
|
|
3767
|
-
]
|
|
3520
|
+
]
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"type": "SYMBOL",
|
|
3525
|
+
"name": "_expr"
|
|
3768
3526
|
}
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3527
|
+
]
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
"logicalAndExpr": {
|
|
3531
|
+
"type": "PREC_LEFT",
|
|
3532
|
+
"value": 11,
|
|
3533
|
+
"content": {
|
|
3534
|
+
"type": "SEQ",
|
|
3535
|
+
"members": [
|
|
3536
|
+
{
|
|
3537
|
+
"type": "SYMBOL",
|
|
3538
|
+
"name": "_expr"
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"type": "FIELD",
|
|
3542
|
+
"name": "operator",
|
|
3543
|
+
"content": {
|
|
3544
|
+
"type": "STRING",
|
|
3545
|
+
"value": "&&"
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"type": "SYMBOL",
|
|
3550
|
+
"name": "_expr"
|
|
3793
3551
|
}
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3552
|
+
]
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"logicalOrExpr": {
|
|
3556
|
+
"type": "PREC_LEFT",
|
|
3557
|
+
"value": 10,
|
|
3558
|
+
"content": {
|
|
3559
|
+
"type": "SEQ",
|
|
3560
|
+
"members": [
|
|
3561
|
+
{
|
|
3562
|
+
"type": "SYMBOL",
|
|
3563
|
+
"name": "_expr"
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"type": "FIELD",
|
|
3567
|
+
"name": "operator",
|
|
3568
|
+
"content": {
|
|
3569
|
+
"type": "STRING",
|
|
3570
|
+
"value": "||"
|
|
3571
|
+
}
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
"type": "SYMBOL",
|
|
3575
|
+
"name": "_expr"
|
|
3818
3576
|
}
|
|
3819
|
-
|
|
3820
|
-
|
|
3577
|
+
]
|
|
3578
|
+
}
|
|
3579
|
+
},
|
|
3580
|
+
"pipeExpr": {
|
|
3581
|
+
"type": "PREC_LEFT",
|
|
3582
|
+
"value": 9,
|
|
3583
|
+
"content": {
|
|
3584
|
+
"type": "SEQ",
|
|
3585
|
+
"members": [
|
|
3586
|
+
{
|
|
3587
|
+
"type": "SYMBOL",
|
|
3588
|
+
"name": "_expr"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"type": "FIELD",
|
|
3592
|
+
"name": "operator",
|
|
3593
|
+
"content": {
|
|
3594
|
+
"type": "STRING",
|
|
3595
|
+
"value": "|>"
|
|
3596
|
+
}
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"type": "SYMBOL",
|
|
3600
|
+
"name": "_expr"
|
|
3601
|
+
}
|
|
3602
|
+
]
|
|
3603
|
+
}
|
|
3821
3604
|
},
|
|
3822
|
-
"
|
|
3605
|
+
"typeTestExpr": {
|
|
3823
3606
|
"type": "PREC",
|
|
3824
3607
|
"value": 14,
|
|
3825
3608
|
"content": {
|
|
@@ -3830,17 +3613,21 @@
|
|
|
3830
3613
|
"name": "_expr"
|
|
3831
3614
|
},
|
|
3832
3615
|
{
|
|
3833
|
-
"type": "
|
|
3834
|
-
"
|
|
3616
|
+
"type": "FIELD",
|
|
3617
|
+
"name": "operator",
|
|
3618
|
+
"content": {
|
|
3619
|
+
"type": "STRING",
|
|
3620
|
+
"value": "is"
|
|
3621
|
+
}
|
|
3835
3622
|
},
|
|
3836
3623
|
{
|
|
3837
3624
|
"type": "SYMBOL",
|
|
3838
|
-
"name": "
|
|
3625
|
+
"name": "_type"
|
|
3839
3626
|
}
|
|
3840
3627
|
]
|
|
3841
3628
|
}
|
|
3842
3629
|
},
|
|
3843
|
-
"
|
|
3630
|
+
"typeCastExpr": {
|
|
3844
3631
|
"type": "PREC",
|
|
3845
3632
|
"value": 14,
|
|
3846
3633
|
"content": {
|
|
@@ -3851,12 +3638,16 @@
|
|
|
3851
3638
|
"name": "_expr"
|
|
3852
3639
|
},
|
|
3853
3640
|
{
|
|
3854
|
-
"type": "
|
|
3855
|
-
"
|
|
3641
|
+
"type": "FIELD",
|
|
3642
|
+
"name": "operator",
|
|
3643
|
+
"content": {
|
|
3644
|
+
"type": "STRING",
|
|
3645
|
+
"value": "as"
|
|
3646
|
+
}
|
|
3856
3647
|
},
|
|
3857
3648
|
{
|
|
3858
3649
|
"type": "SYMBOL",
|
|
3859
|
-
"name": "
|
|
3650
|
+
"name": "_type"
|
|
3860
3651
|
}
|
|
3861
3652
|
]
|
|
3862
3653
|
}
|
|
@@ -3914,7 +3705,7 @@
|
|
|
3914
3705
|
},
|
|
3915
3706
|
{
|
|
3916
3707
|
"type": "SYMBOL",
|
|
3917
|
-
"name": "
|
|
3708
|
+
"name": "_parameter"
|
|
3918
3709
|
},
|
|
3919
3710
|
{
|
|
3920
3711
|
"type": "STRING",
|
|
@@ -3945,9 +3736,17 @@
|
|
|
3945
3736
|
"type": "STRING",
|
|
3946
3737
|
"value": "throw"
|
|
3947
3738
|
},
|
|
3739
|
+
{
|
|
3740
|
+
"type": "STRING",
|
|
3741
|
+
"value": "("
|
|
3742
|
+
},
|
|
3948
3743
|
{
|
|
3949
3744
|
"type": "SYMBOL",
|
|
3950
3745
|
"name": "_expr"
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"type": "STRING",
|
|
3749
|
+
"value": ")"
|
|
3951
3750
|
}
|
|
3952
3751
|
]
|
|
3953
3752
|
}
|
|
@@ -3962,9 +3761,17 @@
|
|
|
3962
3761
|
"type": "STRING",
|
|
3963
3762
|
"value": "trace"
|
|
3964
3763
|
},
|
|
3764
|
+
{
|
|
3765
|
+
"type": "STRING",
|
|
3766
|
+
"value": "("
|
|
3767
|
+
},
|
|
3965
3768
|
{
|
|
3966
3769
|
"type": "SYMBOL",
|
|
3967
3770
|
"name": "_expr"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"type": "STRING",
|
|
3774
|
+
"value": ")"
|
|
3968
3775
|
}
|
|
3969
3776
|
]
|
|
3970
3777
|
}
|
|
@@ -3976,46 +3783,37 @@
|
|
|
3976
3783
|
"type": "SEQ",
|
|
3977
3784
|
"members": [
|
|
3978
3785
|
{
|
|
3979
|
-
"type": "
|
|
3980
|
-
"
|
|
3786
|
+
"type": "FIELD",
|
|
3787
|
+
"name": "variant",
|
|
3788
|
+
"content": {
|
|
3789
|
+
"type": "CHOICE",
|
|
3790
|
+
"members": [
|
|
3791
|
+
{
|
|
3792
|
+
"type": "STRING",
|
|
3793
|
+
"value": "read"
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"type": "STRING",
|
|
3797
|
+
"value": "read?"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"type": "STRING",
|
|
3801
|
+
"value": "read*"
|
|
3802
|
+
}
|
|
3803
|
+
]
|
|
3804
|
+
}
|
|
3981
3805
|
},
|
|
3982
|
-
{
|
|
3983
|
-
"type": "SYMBOL",
|
|
3984
|
-
"name": "_expr"
|
|
3985
|
-
}
|
|
3986
|
-
]
|
|
3987
|
-
}
|
|
3988
|
-
},
|
|
3989
|
-
"readOrNullExpr": {
|
|
3990
|
-
"type": "PREC",
|
|
3991
|
-
"value": -9,
|
|
3992
|
-
"content": {
|
|
3993
|
-
"type": "SEQ",
|
|
3994
|
-
"members": [
|
|
3995
3806
|
{
|
|
3996
3807
|
"type": "STRING",
|
|
3997
|
-
"value": "
|
|
3808
|
+
"value": "("
|
|
3998
3809
|
},
|
|
3999
3810
|
{
|
|
4000
3811
|
"type": "SYMBOL",
|
|
4001
3812
|
"name": "_expr"
|
|
4002
|
-
}
|
|
4003
|
-
]
|
|
4004
|
-
}
|
|
4005
|
-
},
|
|
4006
|
-
"readGlobExpr": {
|
|
4007
|
-
"type": "PREC",
|
|
4008
|
-
"value": -10,
|
|
4009
|
-
"content": {
|
|
4010
|
-
"type": "SEQ",
|
|
4011
|
-
"members": [
|
|
4012
|
-
{
|
|
4013
|
-
"type": "STRING",
|
|
4014
|
-
"value": "read*"
|
|
4015
3813
|
},
|
|
4016
3814
|
{
|
|
4017
|
-
"type": "
|
|
4018
|
-
"
|
|
3815
|
+
"type": "STRING",
|
|
3816
|
+
"value": ")"
|
|
4019
3817
|
}
|
|
4020
3818
|
]
|
|
4021
3819
|
}
|
|
@@ -4024,8 +3822,21 @@
|
|
|
4024
3822
|
"type": "SEQ",
|
|
4025
3823
|
"members": [
|
|
4026
3824
|
{
|
|
4027
|
-
"type": "
|
|
4028
|
-
"
|
|
3825
|
+
"type": "FIELD",
|
|
3826
|
+
"name": "variant",
|
|
3827
|
+
"content": {
|
|
3828
|
+
"type": "CHOICE",
|
|
3829
|
+
"members": [
|
|
3830
|
+
{
|
|
3831
|
+
"type": "STRING",
|
|
3832
|
+
"value": "import"
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
"type": "STRING",
|
|
3836
|
+
"value": "import*"
|
|
3837
|
+
}
|
|
3838
|
+
]
|
|
3839
|
+
}
|
|
4029
3840
|
},
|
|
4030
3841
|
{
|
|
4031
3842
|
"type": "SEQ",
|
|
@@ -4046,33 +3857,142 @@
|
|
|
4046
3857
|
}
|
|
4047
3858
|
]
|
|
4048
3859
|
},
|
|
4049
|
-
"
|
|
3860
|
+
"unqualifiedAccessExpr": {
|
|
4050
3861
|
"type": "SEQ",
|
|
4051
3862
|
"members": [
|
|
4052
3863
|
{
|
|
4053
|
-
"type": "
|
|
4054
|
-
"
|
|
3864
|
+
"type": "SYMBOL",
|
|
3865
|
+
"name": "identifier"
|
|
4055
3866
|
},
|
|
4056
3867
|
{
|
|
4057
|
-
"type": "
|
|
3868
|
+
"type": "CHOICE",
|
|
4058
3869
|
"members": [
|
|
4059
|
-
{
|
|
4060
|
-
"type": "STRING",
|
|
4061
|
-
"value": "("
|
|
4062
|
-
},
|
|
4063
3870
|
{
|
|
4064
3871
|
"type": "SYMBOL",
|
|
4065
|
-
"name": "
|
|
3872
|
+
"name": "argumentList"
|
|
4066
3873
|
},
|
|
4067
3874
|
{
|
|
4068
|
-
"type": "
|
|
4069
|
-
"value": ")"
|
|
3875
|
+
"type": "BLANK"
|
|
4070
3876
|
}
|
|
4071
3877
|
]
|
|
4072
3878
|
}
|
|
4073
3879
|
]
|
|
4074
3880
|
},
|
|
4075
|
-
"
|
|
3881
|
+
"superAccessExpr": {
|
|
3882
|
+
"type": "PREC_LEFT",
|
|
3883
|
+
"value": 22,
|
|
3884
|
+
"content": {
|
|
3885
|
+
"type": "SEQ",
|
|
3886
|
+
"members": [
|
|
3887
|
+
{
|
|
3888
|
+
"type": "STRING",
|
|
3889
|
+
"value": "super"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"type": "STRING",
|
|
3893
|
+
"value": "."
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"type": "SYMBOL",
|
|
3897
|
+
"name": "identifier"
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"type": "CHOICE",
|
|
3901
|
+
"members": [
|
|
3902
|
+
{
|
|
3903
|
+
"type": "SYMBOL",
|
|
3904
|
+
"name": "argumentList"
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"type": "BLANK"
|
|
3908
|
+
}
|
|
3909
|
+
]
|
|
3910
|
+
}
|
|
3911
|
+
]
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
"superSubscriptExpr": {
|
|
3915
|
+
"type": "PREC_LEFT",
|
|
3916
|
+
"value": 22,
|
|
3917
|
+
"content": {
|
|
3918
|
+
"type": "SEQ",
|
|
3919
|
+
"members": [
|
|
3920
|
+
{
|
|
3921
|
+
"type": "STRING",
|
|
3922
|
+
"value": "super"
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
"type": "ALIAS",
|
|
3926
|
+
"content": {
|
|
3927
|
+
"type": "SYMBOL",
|
|
3928
|
+
"name": "_open_subscript_bracket"
|
|
3929
|
+
},
|
|
3930
|
+
"named": false,
|
|
3931
|
+
"value": "["
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
"type": "SYMBOL",
|
|
3935
|
+
"name": "_expr"
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"type": "STRING",
|
|
3939
|
+
"value": "]"
|
|
3940
|
+
}
|
|
3941
|
+
]
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
"qualifiedAccessExpr": {
|
|
3945
|
+
"type": "PREC_LEFT",
|
|
3946
|
+
"value": 22,
|
|
3947
|
+
"content": {
|
|
3948
|
+
"type": "SEQ",
|
|
3949
|
+
"members": [
|
|
3950
|
+
{
|
|
3951
|
+
"type": "FIELD",
|
|
3952
|
+
"name": "receiver",
|
|
3953
|
+
"content": {
|
|
3954
|
+
"type": "SYMBOL",
|
|
3955
|
+
"name": "_expr"
|
|
3956
|
+
}
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"type": "CHOICE",
|
|
3960
|
+
"members": [
|
|
3961
|
+
{
|
|
3962
|
+
"type": "STRING",
|
|
3963
|
+
"value": "."
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"type": "STRING",
|
|
3967
|
+
"value": "?."
|
|
3968
|
+
}
|
|
3969
|
+
]
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"type": "SEQ",
|
|
3973
|
+
"members": [
|
|
3974
|
+
{
|
|
3975
|
+
"type": "SYMBOL",
|
|
3976
|
+
"name": "identifier"
|
|
3977
|
+
},
|
|
3978
|
+
{
|
|
3979
|
+
"type": "CHOICE",
|
|
3980
|
+
"members": [
|
|
3981
|
+
{
|
|
3982
|
+
"type": "SYMBOL",
|
|
3983
|
+
"name": "argumentList"
|
|
3984
|
+
},
|
|
3985
|
+
{
|
|
3986
|
+
"type": "BLANK"
|
|
3987
|
+
}
|
|
3988
|
+
]
|
|
3989
|
+
}
|
|
3990
|
+
]
|
|
3991
|
+
}
|
|
3992
|
+
]
|
|
3993
|
+
}
|
|
3994
|
+
},
|
|
3995
|
+
"functionLiteralExpr": {
|
|
4076
3996
|
"type": "PREC",
|
|
4077
3997
|
"value": -11,
|
|
4078
3998
|
"content": {
|
|
@@ -4118,27 +4038,6 @@
|
|
|
4118
4038
|
}
|
|
4119
4039
|
]
|
|
4120
4040
|
},
|
|
4121
|
-
"typedIdentifier": {
|
|
4122
|
-
"type": "SEQ",
|
|
4123
|
-
"members": [
|
|
4124
|
-
{
|
|
4125
|
-
"type": "SYMBOL",
|
|
4126
|
-
"name": "identifier"
|
|
4127
|
-
},
|
|
4128
|
-
{
|
|
4129
|
-
"type": "CHOICE",
|
|
4130
|
-
"members": [
|
|
4131
|
-
{
|
|
4132
|
-
"type": "SYMBOL",
|
|
4133
|
-
"name": "typeAnnotation"
|
|
4134
|
-
},
|
|
4135
|
-
{
|
|
4136
|
-
"type": "BLANK"
|
|
4137
|
-
}
|
|
4138
|
-
]
|
|
4139
|
-
}
|
|
4140
|
-
]
|
|
4141
|
-
},
|
|
4142
4041
|
"identifier": {
|
|
4143
4042
|
"type": "TOKEN",
|
|
4144
4043
|
"content": {
|
|
@@ -4273,18 +4172,11 @@
|
|
|
4273
4172
|
],
|
|
4274
4173
|
"conflicts": [
|
|
4275
4174
|
[
|
|
4276
|
-
"
|
|
4277
|
-
"
|
|
4278
|
-
],
|
|
4279
|
-
[
|
|
4280
|
-
"objectElement",
|
|
4281
|
-
"_expr"
|
|
4175
|
+
"typedIdentifier",
|
|
4176
|
+
"unqualifiedAccessExpr"
|
|
4282
4177
|
],
|
|
4283
4178
|
[
|
|
4284
4179
|
"qualifiedIdentifier"
|
|
4285
|
-
],
|
|
4286
|
-
[
|
|
4287
|
-
"declaredType"
|
|
4288
4180
|
]
|
|
4289
4181
|
],
|
|
4290
4182
|
"precedences": [],
|
|
@@ -4352,8 +4244,172 @@
|
|
|
4352
4244
|
{
|
|
4353
4245
|
"type": "SYMBOL",
|
|
4354
4246
|
"name": "_open_argument_paren"
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
"type": "SYMBOL",
|
|
4250
|
+
"name": "_binary_minus"
|
|
4355
4251
|
}
|
|
4356
4252
|
],
|
|
4357
4253
|
"inline": [],
|
|
4358
|
-
"supertypes": []
|
|
4359
|
-
|
|
4254
|
+
"supertypes": [],
|
|
4255
|
+
"reserved": {
|
|
4256
|
+
"global": [
|
|
4257
|
+
{
|
|
4258
|
+
"type": "STRING",
|
|
4259
|
+
"value": "_"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"type": "STRING",
|
|
4263
|
+
"value": "abstract"
|
|
4264
|
+
},
|
|
4265
|
+
{
|
|
4266
|
+
"type": "STRING",
|
|
4267
|
+
"value": "amends"
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"type": "STRING",
|
|
4271
|
+
"value": "as"
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
"type": "STRING",
|
|
4275
|
+
"value": "class"
|
|
4276
|
+
},
|
|
4277
|
+
{
|
|
4278
|
+
"type": "STRING",
|
|
4279
|
+
"value": "const"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"type": "STRING",
|
|
4283
|
+
"value": "else"
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
"type": "STRING",
|
|
4287
|
+
"value": "extends"
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
"type": "STRING",
|
|
4291
|
+
"value": "external"
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
"type": "STRING",
|
|
4295
|
+
"value": "false"
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
"type": "STRING",
|
|
4299
|
+
"value": "fixed"
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
"type": "STRING",
|
|
4303
|
+
"value": "for"
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
"type": "STRING",
|
|
4307
|
+
"value": "function"
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"type": "STRING",
|
|
4311
|
+
"value": "hidden"
|
|
4312
|
+
},
|
|
4313
|
+
{
|
|
4314
|
+
"type": "STRING",
|
|
4315
|
+
"value": "if"
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"type": "STRING",
|
|
4319
|
+
"value": "import"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"type": "STRING",
|
|
4323
|
+
"value": "import*"
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
"type": "STRING",
|
|
4327
|
+
"value": "in"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"type": "STRING",
|
|
4331
|
+
"value": "is"
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
"type": "STRING",
|
|
4335
|
+
"value": "let"
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
"type": "STRING",
|
|
4339
|
+
"value": "local"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
"type": "STRING",
|
|
4343
|
+
"value": "module"
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"type": "STRING",
|
|
4347
|
+
"value": "new"
|
|
4348
|
+
},
|
|
4349
|
+
{
|
|
4350
|
+
"type": "STRING",
|
|
4351
|
+
"value": "nothing"
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
"type": "STRING",
|
|
4355
|
+
"value": "null"
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"type": "STRING",
|
|
4359
|
+
"value": "open"
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"type": "STRING",
|
|
4363
|
+
"value": "out"
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"type": "STRING",
|
|
4367
|
+
"value": "outer"
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"type": "STRING",
|
|
4371
|
+
"value": "read"
|
|
4372
|
+
},
|
|
4373
|
+
{
|
|
4374
|
+
"type": "STRING",
|
|
4375
|
+
"value": "read*"
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
"type": "STRING",
|
|
4379
|
+
"value": "read?"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"type": "STRING",
|
|
4383
|
+
"value": "super"
|
|
4384
|
+
},
|
|
4385
|
+
{
|
|
4386
|
+
"type": "STRING",
|
|
4387
|
+
"value": "this"
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
"type": "STRING",
|
|
4391
|
+
"value": "throw"
|
|
4392
|
+
},
|
|
4393
|
+
{
|
|
4394
|
+
"type": "STRING",
|
|
4395
|
+
"value": "trace"
|
|
4396
|
+
},
|
|
4397
|
+
{
|
|
4398
|
+
"type": "STRING",
|
|
4399
|
+
"value": "true"
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"type": "STRING",
|
|
4403
|
+
"value": "typealias"
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
"type": "STRING",
|
|
4407
|
+
"value": "unknown"
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
"type": "STRING",
|
|
4411
|
+
"value": "when"
|
|
4412
|
+
}
|
|
4413
|
+
]
|
|
4414
|
+
}
|
|
4415
|
+
}
|