ember-source 7.1.0-alpha.2 → 7.1.0-alpha.3
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/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/dev/packages/@ember/application/index.js +5 -5
- package/dist/dev/packages/@ember/application/instance.js +4 -4
- package/dist/dev/packages/@ember/component/helper.js +4 -4
- package/dist/dev/packages/@ember/component/index.js +4 -4
- package/dist/dev/packages/@ember/component/template-only.js +2 -2
- package/dist/dev/packages/@ember/engine/index.js +5 -5
- package/dist/dev/packages/@ember/helper/index.js +5 -5
- package/dist/dev/packages/@ember/modifier/index.js +4 -4
- package/dist/dev/packages/@ember/modifier/on.js +2 -2
- package/dist/dev/packages/@ember/renderer/index.js +4 -4
- package/dist/dev/packages/@ember/routing/index.js +4 -4
- package/dist/dev/packages/@ember/template/index.js +4 -4
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +7 -5
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +18 -0
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/dev/packages/@ember/template-factory/index.js +1 -1
- package/dist/dev/packages/@glimmer/destroyable/index.js +5 -1
- package/dist/dev/packages/@glimmer/node/index.js +4 -4
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +1 -1
- package/dist/dev/packages/@glimmer/runtime/index.js +5 -5
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +3 -3
- package/dist/dev/packages/shared-chunks/{compiler-BenCxenr.js → compiler-D1leQ3Gl.js} +90 -88
- package/dist/dev/packages/shared-chunks/{constants-DKn6zqFX.js → constants-p7AL-pog.js} +1 -1
- package/dist/dev/packages/shared-chunks/{dynamic-Cu9Xpdzc.js → dynamic-BfDKO5NI.js} +6 -7
- package/dist/dev/packages/shared-chunks/{element-builder-Dw_Ic9cD.js → element-builder-DO43ztVP.js} +2 -2
- package/dist/dev/packages/shared-chunks/{index-CtPSmMCE.js → index-BUPd6pkm.js} +15 -17
- package/dist/dev/packages/shared-chunks/{index-AD_RxZjB.js → index-QZstta6s.js} +6 -6
- package/dist/dev/packages/shared-chunks/{invoke-D0D6CvD5.js → invoke-CgfoEtMT.js} +1 -1
- package/dist/dev/packages/shared-chunks/{program-context-yOi1EExe.js → program-context-sJz0oHOA.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-CfBtYUkk.js → rehydrate-builder-CEk2KOIk.js} +3 -5
- package/dist/dev/packages/shared-chunks/{render-t-LAXUYI.js → render-C1HzKUcM.js} +4 -4
- package/dist/dev/packages/shared-chunks/{serialize-builder-BUG9CxHC.js → serialize-builder-CPKxdfiH.js} +3 -3
- package/dist/dev/packages/shared-chunks/{setup-registry-CxXWLs26.js → setup-registry-B7-RknRf.js} +6 -6
- package/dist/dev/packages/shared-chunks/{transform-resolutions-fXGQKGsL.js → transform-resolutions-D-YtZ0_g.js} +2 -2
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/prod/packages/@ember/-internals/metal/index.js +10 -10
- package/dist/prod/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +4 -4
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +3 -3
- package/dist/prod/packages/@ember/application/index.js +8 -8
- package/dist/prod/packages/@ember/application/instance.js +8 -8
- package/dist/prod/packages/@ember/application/namespace.js +3 -3
- package/dist/prod/packages/@ember/array/index.js +5 -5
- package/dist/prod/packages/@ember/array/proxy.js +5 -5
- package/dist/prod/packages/@ember/component/helper.js +6 -6
- package/dist/prod/packages/@ember/component/index.js +6 -6
- package/dist/prod/packages/@ember/component/template-only.js +4 -4
- package/dist/prod/packages/@ember/controller/index.js +4 -4
- package/dist/prod/packages/@ember/debug/container-debug-adapter.js +2 -2
- package/dist/prod/packages/@ember/debug/data-adapter.js +2 -2
- package/dist/prod/packages/@ember/engine/index.js +9 -9
- package/dist/prod/packages/@ember/helper/index.js +8 -8
- package/dist/prod/packages/@ember/modifier/index.js +6 -6
- package/dist/prod/packages/@ember/modifier/on.js +4 -4
- package/dist/prod/packages/@ember/object/-internals.js +2 -2
- package/dist/prod/packages/@ember/object/compat.js +2 -2
- package/dist/prod/packages/@ember/object/computed.js +4 -4
- package/dist/prod/packages/@ember/object/core.js +2 -2
- package/dist/prod/packages/@ember/object/evented.js +3 -3
- package/dist/prod/packages/@ember/object/events.js +2 -2
- package/dist/prod/packages/@ember/object/index.js +6 -6
- package/dist/prod/packages/@ember/object/internals.js +2 -2
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +5 -5
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +3 -3
- package/dist/prod/packages/@ember/object/mixin.js +3 -3
- package/dist/prod/packages/@ember/object/observable.js +5 -5
- package/dist/prod/packages/@ember/object/observers.js +2 -2
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +4 -4
- package/dist/prod/packages/@ember/renderer/index.js +6 -6
- package/dist/prod/packages/@ember/routing/index.js +6 -6
- package/dist/prod/packages/@ember/routing/lib/generate_controller.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/prod/packages/@ember/routing/route.js +6 -6
- package/dist/prod/packages/@ember/routing/router-service.js +2 -2
- package/dist/prod/packages/@ember/routing/router.js +4 -4
- package/dist/prod/packages/@ember/runloop/index.js +2 -2
- package/dist/prod/packages/@ember/service/index.js +3 -3
- package/dist/prod/packages/@ember/template/index.js +6 -6
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +9 -7
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +18 -0
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +4 -4
- package/dist/prod/packages/@ember/template-factory/index.js +3 -3
- package/dist/prod/packages/@ember/utils/lib/is_empty.js +2 -2
- package/dist/prod/packages/@glimmer/destroyable/index.js +5 -1
- package/dist/prod/packages/@glimmer/manager/index.js +4 -4
- package/dist/prod/packages/@glimmer/node/index.js +6 -6
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +3 -3
- package/dist/prod/packages/@glimmer/program/index.js +1 -1
- package/dist/prod/packages/@glimmer/runtime/index.js +6 -6
- package/dist/prod/packages/@glimmer/tracking/index.js +3 -3
- package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +2 -2
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/ember-template-compiler/index.js +4 -4
- package/dist/prod/packages/shared-chunks/{alias-BkT-0B1G.js → alias-BLBQkche.js} +3 -3
- package/dist/prod/packages/shared-chunks/{api-Co-k4HVs.js → api-DtWa0ZaF.js} +1 -1
- package/dist/prod/packages/shared-chunks/{array-EwekEvId.js → array-kVQfzrQn.js} +2 -2
- package/dist/prod/packages/shared-chunks/{capabilities-DGmQ_mz4.js → capabilities-DXA-L0iT.js} +1 -1
- package/dist/prod/packages/shared-chunks/{compiler-Rwrmj1ki.js → compiler-Bbki2GT_.js} +53 -92
- package/dist/prod/packages/shared-chunks/{constants-CB3pk7dH.js → constants-2M371WiB.js} +4 -4
- package/dist/prod/packages/shared-chunks/{element-builder-DbktcGKV.js → element-builder-BmLF0C-1.js} +2 -4
- package/dist/prod/packages/shared-chunks/{fragment-EpVz5Xuc.js → fragment-D7nBU9ae.js} +16 -1
- package/dist/prod/packages/shared-chunks/{index-BVy-auLZ.js → index-6pnzcm45.js} +13 -13
- package/dist/prod/packages/shared-chunks/{index-nW__r2nX.js → index-CjaDF9kC.js} +2 -10
- package/dist/prod/packages/shared-chunks/{injected_property-DL3vQoFA.js → injected_property-CTVs5FPh.js} +1 -1
- package/dist/prod/packages/shared-chunks/{invoke-BuwCkcVB.js → invoke-BdJCXD-b.js} +3 -3
- package/dist/prod/packages/shared-chunks/{namespace_search-Aog9nySA.js → namespace_search-Dcdalhj6.js} +1 -1
- package/dist/prod/packages/shared-chunks/{observers-R1ZklwWy.js → observers-tZ2aOzr4.js} +1 -1
- package/dist/prod/packages/shared-chunks/{on-ByzWKBWe.js → on-CLxdmpmk.js} +4 -11
- package/dist/prod/packages/shared-chunks/{program-context-BdUXf-jj.js → program-context-DFiwaPMR.js} +2 -2
- package/dist/prod/packages/shared-chunks/{property_set-O080KTKZ.js → property_set-B2sZxeCw.js} +2 -2
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-M_dh82nR.js → rehydrate-builder-CUefZL4I.js} +3 -7
- package/dist/prod/packages/shared-chunks/{render-DJ-BzvgU.js → render-BlriW61t.js} +4 -6
- package/dist/prod/packages/shared-chunks/{serialize-builder-BpVMgrCr.js → serialize-builder-DgpXSc2Q.js} +5 -5
- package/dist/prod/packages/shared-chunks/{set_properties-CjsDTRey.js → set_properties-C1T46IiN.js} +3 -3
- package/dist/prod/packages/shared-chunks/{setup-registry-KYxkFexK.js → setup-registry-DeObnZ2Z.js} +8 -8
- package/dist/prod/packages/shared-chunks/{tracked-ChVNBE2f.js → tracked-Cl5l4v8b.js} +1 -1
- package/dist/prod/packages/shared-chunks/{transform-resolutions-C7wq_Q_c.js → transform-resolutions-DR4GLmR2.js} +0 -3
- package/docs/data.json +185 -145
- package/package.json +3 -1
- package/types/stable/@glimmer/syntax/lib/source/source.d.ts +2 -1
- package/dist/prod/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
package/docs/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "The Ember API",
|
|
4
4
|
"description": "The Ember API: a framework for building ambitious web applications",
|
|
5
5
|
"url": "https://emberjs.com/",
|
|
6
|
-
"version": "7.1.0-alpha.
|
|
6
|
+
"version": "7.1.0-alpha.3"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -21478,28 +21478,28 @@
|
|
|
21478
21478
|
},
|
|
21479
21479
|
{
|
|
21480
21480
|
"file": "packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts",
|
|
21481
|
-
"line":
|
|
21481
|
+
"line": 142,
|
|
21482
21482
|
"description": "(helper)\n(helper arg)",
|
|
21483
21483
|
"class": "@glimmer/tracking",
|
|
21484
21484
|
"module": "@glimmer/component"
|
|
21485
21485
|
},
|
|
21486
21486
|
{
|
|
21487
21487
|
"file": "packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts",
|
|
21488
|
-
"line":
|
|
21488
|
+
"line": 189,
|
|
21489
21489
|
"description": "<div {{modifier}}/>\n<div {{modifier arg}}/>\n<Foo {{modifier}}/>",
|
|
21490
21490
|
"class": "@glimmer/tracking",
|
|
21491
21491
|
"module": "@glimmer/component"
|
|
21492
21492
|
},
|
|
21493
21493
|
{
|
|
21494
21494
|
"file": "packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts",
|
|
21495
|
-
"line":
|
|
21495
|
+
"line": 252,
|
|
21496
21496
|
"description": "{{component-or-helper arg}}",
|
|
21497
21497
|
"class": "@glimmer/tracking",
|
|
21498
21498
|
"module": "@glimmer/component"
|
|
21499
21499
|
},
|
|
21500
21500
|
{
|
|
21501
21501
|
"file": "packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts",
|
|
21502
|
-
"line":
|
|
21502
|
+
"line": 342,
|
|
21503
21503
|
"description": "{{maybeHelperOrComponent}}",
|
|
21504
21504
|
"class": "@glimmer/tracking",
|
|
21505
21505
|
"module": "@glimmer/component"
|
|
@@ -22478,161 +22478,173 @@
|
|
|
22478
22478
|
},
|
|
22479
22479
|
{
|
|
22480
22480
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22481
|
-
"line":
|
|
22481
|
+
"line": 6840,
|
|
22482
|
+
"class": "@glimmer/tracking",
|
|
22483
|
+
"module": "@glimmer/component"
|
|
22484
|
+
},
|
|
22485
|
+
{
|
|
22486
|
+
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22487
|
+
"line": 6849,
|
|
22482
22488
|
"description": "Validate that the character offset represents a position in the source string.",
|
|
22483
22489
|
"class": "@glimmer/tracking",
|
|
22484
22490
|
"module": "@glimmer/component"
|
|
22485
22491
|
},
|
|
22486
22492
|
{
|
|
22487
22493
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22488
|
-
"line":
|
|
22494
|
+
"line": 6916,
|
|
22495
|
+
"class": "@glimmer/tracking",
|
|
22496
|
+
"module": "@glimmer/component"
|
|
22497
|
+
},
|
|
22498
|
+
{
|
|
22499
|
+
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22500
|
+
"line": 7827,
|
|
22489
22501
|
"description": "The Parser Builder differentiates from the public builder API by:\n\n1. Offering fewer different ways to instantiate nodes\n2. Mandating source locations",
|
|
22490
22502
|
"class": "@glimmer/tracking",
|
|
22491
22503
|
"module": "@glimmer/component"
|
|
22492
22504
|
},
|
|
22493
22505
|
{
|
|
22494
22506
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22495
|
-
"line":
|
|
22507
|
+
"line": 9356,
|
|
22496
22508
|
"description": "ASTPlugins can make changes to the Glimmer template AST before\ncompilation begins.",
|
|
22497
22509
|
"class": "@glimmer/tracking",
|
|
22498
22510
|
"module": "@glimmer/component"
|
|
22499
22511
|
},
|
|
22500
22512
|
{
|
|
22501
22513
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22502
|
-
"line":
|
|
22514
|
+
"line": 9424,
|
|
22503
22515
|
"description": "Gets the correct Token from the Node based on it's type",
|
|
22504
22516
|
"class": "@glimmer/tracking",
|
|
22505
22517
|
"module": "@glimmer/component"
|
|
22506
22518
|
},
|
|
22507
22519
|
{
|
|
22508
22520
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22509
|
-
"line":
|
|
22521
|
+
"line": 9467,
|
|
22510
22522
|
"description": "Adds tokens to the tokensSet based on their node.type",
|
|
22511
22523
|
"class": "@glimmer/tracking",
|
|
22512
22524
|
"module": "@glimmer/component"
|
|
22513
22525
|
},
|
|
22514
22526
|
{
|
|
22515
22527
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22516
|
-
"line":
|
|
22528
|
+
"line": 9480,
|
|
22517
22529
|
"description": "Parses and traverses a given handlebars html template to extract all template locals\nreferenced that could possible come from the parent scope. Can exclude known keywords\noptionally.",
|
|
22518
22530
|
"class": "@glimmer/tracking",
|
|
22519
22531
|
"module": "@glimmer/component"
|
|
22520
22532
|
},
|
|
22521
22533
|
{
|
|
22522
22534
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22523
|
-
"line":
|
|
22535
|
+
"line": 9543,
|
|
22524
22536
|
"description": "This is a convenience function for creating ASTv2 nodes, with an optional name and the node's\noptions.\n\n```ts\nexport class HtmlText extends node('HtmlText').fields<{ chars: string }>() {}\n```\n\nThis creates a new ASTv2 node with the name `'HtmlText'` and one field `chars: string` (in\naddition to a `loc: SourceOffsets` field, which all nodes have).\n\n```ts\nexport class Args extends node().fields<{\n positional: PositionalArguments;\n named: NamedArguments\n}>() {}\n```\n\nThis creates a new un-named ASTv2 node with two fields (`positional: Positional` and `named:\nNamed`, in addition to the generic `loc: SourceOffsets` field).\n\nOnce you create a node using `node`, it is instantiated with all of its fields (including `loc`):\n\n```ts\nnew HtmlText({ loc: offsets, chars: someString });\n```",
|
|
22525
22537
|
"class": "@glimmer/tracking",
|
|
22526
22538
|
"module": "@glimmer/component"
|
|
22527
22539
|
},
|
|
22528
22540
|
{
|
|
22529
22541
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22530
|
-
"line":
|
|
22542
|
+
"line": 9603,
|
|
22531
22543
|
"description": "Corresponds to syntaxes with positional and named arguments:\n\n- SubExpression\n- Invoking Append\n- Invoking attributes\n- InvokeBlock\n\nIf `Args` is empty, the `SourceOffsets` for this node should be the collapsed position\nimmediately after the parent call node's `callee`.",
|
|
22532
22544
|
"class": "@glimmer/tracking",
|
|
22533
22545
|
"module": "@glimmer/component"
|
|
22534
22546
|
},
|
|
22535
22547
|
{
|
|
22536
22548
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22537
|
-
"line":
|
|
22549
|
+
"line": 9640,
|
|
22538
22550
|
"description": "Corresponds to positional arguments.\n\nIf `PositionalArguments` is empty, the `SourceOffsets` for this node should be the collapsed\nposition immediately after the parent call node's `callee`.",
|
|
22539
22551
|
"class": "@glimmer/tracking",
|
|
22540
22552
|
"module": "@glimmer/component"
|
|
22541
22553
|
},
|
|
22542
22554
|
{
|
|
22543
22555
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22544
|
-
"line":
|
|
22556
|
+
"line": 9664,
|
|
22545
22557
|
"description": "Corresponds to named arguments.\n\nIf `PositionalArguments` and `NamedArguments` are empty, the `SourceOffsets` for this node should\nbe the same as the `Args` node that contains this node.\n\nIf `PositionalArguments` is not empty but `NamedArguments` is empty, the `SourceOffsets` for this\nnode should be the collapsed position immediately after the last positional argument.",
|
|
22546
22558
|
"class": "@glimmer/tracking",
|
|
22547
22559
|
"module": "@glimmer/component"
|
|
22548
22560
|
},
|
|
22549
22561
|
{
|
|
22550
22562
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22551
|
-
"line":
|
|
22563
|
+
"line": 9692,
|
|
22552
22564
|
"description": "Corresponds to a single named argument.\n\n```hbs\nx=<expr>\n```",
|
|
22553
22565
|
"class": "@glimmer/tracking",
|
|
22554
22566
|
"module": "@glimmer/component"
|
|
22555
22567
|
},
|
|
22556
22568
|
{
|
|
22557
22569
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22558
|
-
"line":
|
|
22570
|
+
"line": 9710,
|
|
22559
22571
|
"description": "Attr nodes look like HTML attributes, but are classified as:\n\n1. `HtmlAttr`, which means a regular HTML attribute in Glimmer\n2. `SplatAttr`, which means `...attributes`\n3. `ComponentArg`, which means an attribute whose name begins with `@`, and it is therefore a\n component argument.",
|
|
22560
22572
|
"class": "@glimmer/tracking",
|
|
22561
22573
|
"module": "@glimmer/component"
|
|
22562
22574
|
},
|
|
22563
22575
|
{
|
|
22564
22576
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22565
|
-
"line":
|
|
22577
|
+
"line": 9719,
|
|
22566
22578
|
"description": "`HtmlAttr` and `SplatAttr` are grouped together because the order of the `SplatAttr` node,\nrelative to other attributes, matters.",
|
|
22567
22579
|
"class": "@glimmer/tracking",
|
|
22568
22580
|
"module": "@glimmer/component"
|
|
22569
22581
|
},
|
|
22570
22582
|
{
|
|
22571
22583
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22572
|
-
"line":
|
|
22584
|
+
"line": 9724,
|
|
22573
22585
|
"description": "\"Attr Block\" nodes are allowed inside an open element tag in templates. They interact with the\nelement (or component).",
|
|
22574
22586
|
"class": "@glimmer/tracking",
|
|
22575
22587
|
"module": "@glimmer/component"
|
|
22576
22588
|
},
|
|
22577
22589
|
{
|
|
22578
22590
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22579
|
-
"line":
|
|
22591
|
+
"line": 9729,
|
|
22580
22592
|
"description": "`HtmlAttr` nodes are valid HTML attributes, with or without a value.\n\nExceptions:\n\n- `...attributes` is `SplatAttr`\n- `@x=<value>` is `ComponentArg`",
|
|
22581
22593
|
"class": "@glimmer/tracking",
|
|
22582
22594
|
"module": "@glimmer/component"
|
|
22583
22595
|
},
|
|
22584
22596
|
{
|
|
22585
22597
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22586
|
-
"line":
|
|
22598
|
+
"line": 9740,
|
|
22587
22599
|
"description": "Corresponds to an argument passed by a component (`@x=<value>`)",
|
|
22588
22600
|
"class": "@glimmer/tracking",
|
|
22589
22601
|
"module": "@glimmer/component"
|
|
22590
22602
|
},
|
|
22591
22603
|
{
|
|
22592
22604
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22593
|
-
"line":
|
|
22605
|
+
"line": 9744,
|
|
22594
22606
|
"description": "Convert the component argument into a named argument node",
|
|
22595
22607
|
"class": "@glimmer/tracking",
|
|
22596
22608
|
"module": "@glimmer/component"
|
|
22597
22609
|
},
|
|
22598
22610
|
{
|
|
22599
22611
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22600
|
-
"line":
|
|
22612
|
+
"line": 9755,
|
|
22601
22613
|
"description": "An `ElementModifier` is just a normal call node in modifier position.",
|
|
22602
22614
|
"class": "@glimmer/tracking",
|
|
22603
22615
|
"module": "@glimmer/component"
|
|
22604
22616
|
},
|
|
22605
22617
|
{
|
|
22606
22618
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22607
|
-
"line":
|
|
22619
|
+
"line": 9760,
|
|
22608
22620
|
"description": "Content Nodes are allowed in content positions in templates. They correspond to behavior in the\n[Data][data] tokenization state in HTML.\n\n[data]: https://html.spec.whatwg.org/multipage/parsing.html#data-state",
|
|
22609
22621
|
"class": "@glimmer/tracking",
|
|
22610
22622
|
"module": "@glimmer/component"
|
|
22611
22623
|
},
|
|
22612
22624
|
{
|
|
22613
22625
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22614
|
-
"line":
|
|
22626
|
+
"line": 9787,
|
|
22615
22627
|
"description": "Corresponds to a component invocation. When the content of a component invocation contains no\nnamed blocks, `blocks` contains a single named block named `\"default\"`. When a component\ninvocation is self-closing, `blocks` is empty.",
|
|
22616
22628
|
"class": "@glimmer/tracking",
|
|
22617
22629
|
"module": "@glimmer/component"
|
|
22618
22630
|
},
|
|
22619
22631
|
{
|
|
22620
22632
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22621
|
-
"line":
|
|
22633
|
+
"line": 9801,
|
|
22622
22634
|
"description": "Corresponds to a simple HTML element. The AST allows component arguments and modifiers to support\nfuture extensions.",
|
|
22623
22635
|
"class": "@glimmer/tracking",
|
|
22624
22636
|
"module": "@glimmer/component"
|
|
22625
22637
|
},
|
|
22626
22638
|
{
|
|
22627
22639
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22628
|
-
"line":
|
|
22640
|
+
"line": 9815,
|
|
22629
22641
|
"description": "A Handlebars literal.\n\n{@link https://handlebarsjs.com/guide/expressions.html#literal-segments}",
|
|
22630
22642
|
"class": "@glimmer/tracking",
|
|
22631
22643
|
"module": "@glimmer/component"
|
|
22632
22644
|
},
|
|
22633
22645
|
{
|
|
22634
22646
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22635
|
-
"line":
|
|
22647
|
+
"line": 9821,
|
|
22636
22648
|
"description": "Corresponds to a Handlebars literal.",
|
|
22637
22649
|
"see": [
|
|
22638
22650
|
"{LiteralValue}"
|
|
@@ -22642,189 +22654,189 @@
|
|
|
22642
22654
|
},
|
|
22643
22655
|
{
|
|
22644
22656
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22645
|
-
"line":
|
|
22657
|
+
"line": 9834,
|
|
22646
22658
|
"description": "Returns true if an input {@see ExpressionNode} is a literal.",
|
|
22647
22659
|
"class": "@glimmer/tracking",
|
|
22648
22660
|
"module": "@glimmer/component"
|
|
22649
22661
|
},
|
|
22650
22662
|
{
|
|
22651
22663
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22652
|
-
"line":
|
|
22664
|
+
"line": 9851,
|
|
22653
22665
|
"description": "Corresponds to a path in expression position.\n\n```hbs\nthis\nthis.x\n@x\n@x.y\nx\nx.y\n```",
|
|
22654
22666
|
"class": "@glimmer/tracking",
|
|
22655
22667
|
"module": "@glimmer/component"
|
|
22656
22668
|
},
|
|
22657
22669
|
{
|
|
22658
22670
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22659
|
-
"line":
|
|
22671
|
+
"line": 9865,
|
|
22660
22672
|
"description": "Corresponds to a known strict-mode keyword. It behaves similarly to a\nPathExpression with a FreeVarReference, but implies StrictResolution and\nis guaranteed to not have a tail, since `{{outlet.foo}}` would have been\nillegal.",
|
|
22661
22673
|
"class": "@glimmer/tracking",
|
|
22662
22674
|
"module": "@glimmer/component"
|
|
22663
22675
|
},
|
|
22664
22676
|
{
|
|
22665
22677
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22666
|
-
"line":
|
|
22678
|
+
"line": 9873,
|
|
22667
22679
|
"description": "Corresponds to a parenthesized call expression.\n\n```hbs\n(x)\n(x.y)\n(x y)\n(x.y z)\n```",
|
|
22668
22680
|
"class": "@glimmer/tracking",
|
|
22669
22681
|
"module": "@glimmer/component"
|
|
22670
22682
|
},
|
|
22671
22683
|
{
|
|
22672
22684
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22673
|
-
"line":
|
|
22685
|
+
"line": 9885,
|
|
22674
22686
|
"description": "Corresponds to an interpolation in attribute value position.\n\n```hbs\n<a href=\"{{url}}.html\"\n```",
|
|
22675
22687
|
"class": "@glimmer/tracking",
|
|
22676
22688
|
"module": "@glimmer/component"
|
|
22677
22689
|
},
|
|
22678
22690
|
{
|
|
22679
22691
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22680
|
-
"line":
|
|
22692
|
+
"line": 9894,
|
|
22681
22693
|
"description": "Corresponds to an entire template.",
|
|
22682
22694
|
"class": "@glimmer/tracking",
|
|
22683
22695
|
"module": "@glimmer/component"
|
|
22684
22696
|
},
|
|
22685
22697
|
{
|
|
22686
22698
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22687
|
-
"line":
|
|
22699
|
+
"line": 9899,
|
|
22688
22700
|
"description": "Represents a block. In principle this could be merged with `NamedBlock`, because all cases\ninvolving blocks have at least a notional name.",
|
|
22689
22701
|
"class": "@glimmer/tracking",
|
|
22690
22702
|
"module": "@glimmer/component"
|
|
22691
22703
|
},
|
|
22692
22704
|
{
|
|
22693
22705
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22694
|
-
"line":
|
|
22706
|
+
"line": 9905,
|
|
22695
22707
|
"description": "Corresponds to a collection of named blocks.",
|
|
22696
22708
|
"class": "@glimmer/tracking",
|
|
22697
22709
|
"module": "@glimmer/component"
|
|
22698
22710
|
},
|
|
22699
22711
|
{
|
|
22700
22712
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22701
|
-
"line":
|
|
22713
|
+
"line": 9909,
|
|
22702
22714
|
"description": "Get the `NamedBlock` for a given name.",
|
|
22703
22715
|
"class": "@glimmer/tracking",
|
|
22704
22716
|
"module": "@glimmer/component"
|
|
22705
22717
|
},
|
|
22706
22718
|
{
|
|
22707
22719
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22708
|
-
"line":
|
|
22720
|
+
"line": 9917,
|
|
22709
22721
|
"description": "Corresponds to a single named block. This is used for anonymous named blocks (`default` and\n`else`).",
|
|
22710
22722
|
"class": "@glimmer/tracking",
|
|
22711
22723
|
"module": "@glimmer/component"
|
|
22712
22724
|
},
|
|
22713
22725
|
{
|
|
22714
22726
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22715
|
-
"line":
|
|
22727
|
+
"line": 9931,
|
|
22716
22728
|
"description": "Corresponds to `this` at the head of an expression.",
|
|
22717
22729
|
"class": "@glimmer/tracking",
|
|
22718
22730
|
"module": "@glimmer/component"
|
|
22719
22731
|
},
|
|
22720
22732
|
{
|
|
22721
22733
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22722
|
-
"line":
|
|
22734
|
+
"line": 9936,
|
|
22723
22735
|
"description": "Corresponds to `@<ident>` at the beginning of an expression.",
|
|
22724
22736
|
"class": "@glimmer/tracking",
|
|
22725
22737
|
"module": "@glimmer/component"
|
|
22726
22738
|
},
|
|
22727
22739
|
{
|
|
22728
22740
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22729
|
-
"line":
|
|
22741
|
+
"line": 9941,
|
|
22730
22742
|
"description": "Corresponds to `<ident>` at the beginning of an expression, when `<ident>` is in the current\nblock's scope.",
|
|
22731
22743
|
"class": "@glimmer/tracking",
|
|
22732
22744
|
"module": "@glimmer/component"
|
|
22733
22745
|
},
|
|
22734
22746
|
{
|
|
22735
22747
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22736
|
-
"line":
|
|
22748
|
+
"line": 9947,
|
|
22737
22749
|
"description": "Corresponds to `<ident>` at the beginning of an expression, when `<ident>` is *not* in the\ncurrent block's scope.\n\nThe `resolution: FreeVarResolution` field describes how to resolve the free variable.\n\nNote: In strict mode, it must always be a variable that is in a concrete JavaScript scope that\nthe template will be installed into.",
|
|
22738
22750
|
"class": "@glimmer/tracking",
|
|
22739
22751
|
"module": "@glimmer/component"
|
|
22740
22752
|
},
|
|
22741
22753
|
{
|
|
22742
22754
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22743
|
-
"line":
|
|
22755
|
+
"line": 9964,
|
|
22744
22756
|
"description": "A free variable is resolved according to a resolution rule:\n\n1. Strict resolution\n2. Namespaced resolution",
|
|
22745
22757
|
"class": "@glimmer/tracking",
|
|
22746
22758
|
"module": "@glimmer/component"
|
|
22747
22759
|
},
|
|
22748
22760
|
{
|
|
22749
22761
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22750
|
-
"line":
|
|
22762
|
+
"line": 9972,
|
|
22751
22763
|
"description": "Strict resolution is used:\n\n1. in a strict mode template\n2. in an local variable invocation with dot paths",
|
|
22752
22764
|
"class": "@glimmer/tracking",
|
|
22753
22765
|
"module": "@glimmer/component"
|
|
22754
22766
|
},
|
|
22755
22767
|
{
|
|
22756
22768
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22757
|
-
"line":
|
|
22769
|
+
"line": 9991,
|
|
22758
22770
|
"description": "A `LooseModeResolution` includes one or more namespaces to resolve the variable in\n\nIn practice, there are a limited number of possible combinations of these degrees of freedom,\nand they are captured by the `Namespaces` union below.",
|
|
22759
22771
|
"class": "@glimmer/tracking",
|
|
22760
22772
|
"module": "@glimmer/component"
|
|
22761
22773
|
},
|
|
22762
22774
|
{
|
|
22763
22775
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22764
|
-
"line":
|
|
22776
|
+
"line": 9998,
|
|
22765
22777
|
"description": "Namespaced resolution is used in an unambiguous syntax position:\n\n1. `(sexp)` (namespace: `Helper`)\n2. `{{#block}}` (namespace: `Component`)\n3. `<a {{modifier}}>` (namespace: `Modifier`)\n4. `<Component />` (namespace: `Component`)",
|
|
22766
22778
|
"class": "@glimmer/tracking",
|
|
22767
22779
|
"module": "@glimmer/component"
|
|
22768
22780
|
},
|
|
22769
22781
|
{
|
|
22770
22782
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22771
|
-
"line":
|
|
22783
|
+
"line": 10010,
|
|
22772
22784
|
"description": "Append resolution is used when the variable should be resolved in both the `component` and\n`helper` namespaces.\n\n```hbs\n{{x}}\n```\n\n```hbs\n{{x y}}\n```\n\n^ In either case, `x` should be resolved in the `component` and `helper` namespaces.",
|
|
22773
22785
|
"class": "@glimmer/tracking",
|
|
22774
22786
|
"module": "@glimmer/component"
|
|
22775
22787
|
},
|
|
22776
22788
|
{
|
|
22777
22789
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22778
|
-
"line":
|
|
22790
|
+
"line": 10028,
|
|
22779
22791
|
"description": "Trusting append resolution is used when the variable should be resolved only in the\n`helper` namespaces.\n\n```hbs\n{{{x}}}\n```\n\n```hbs\n{{{x y}}}\n```\n\n^ In either case, `x` should be resolved in the `helper` namespace.",
|
|
22780
22792
|
"class": "@glimmer/tracking",
|
|
22781
22793
|
"module": "@glimmer/component"
|
|
22782
22794
|
},
|
|
22783
22795
|
{
|
|
22784
22796
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22785
|
-
"line":
|
|
22797
|
+
"line": 10075,
|
|
22786
22798
|
"description": "A `Namespaced` must be resolved in one or more namespaces.\n\n```hbs\n<X />\n```\n\n^ `X` is resolved in the `component` namespace\n\n```hbs\n(x)\n```\n\n^ `x` is resolved in the `helper` namespace\n\n```hbs\n<a {{x}} />\n```\n\n^ `x` is resolved in the `modifier` namespace",
|
|
22787
22799
|
"class": "@glimmer/tracking",
|
|
22788
22800
|
"module": "@glimmer/component"
|
|
22789
22801
|
},
|
|
22790
22802
|
{
|
|
22791
22803
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22792
|
-
"line":
|
|
22804
|
+
"line": 10626,
|
|
22793
22805
|
"description": "This corresponds to attribute curlies (<Foo bar={{...}}>).\nIn strict mode, this also corresponds to arg curlies.",
|
|
22794
22806
|
"class": "@glimmer/tracking",
|
|
22795
22807
|
"module": "@glimmer/component"
|
|
22796
22808
|
},
|
|
22797
22809
|
{
|
|
22798
22810
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22799
|
-
"line":
|
|
22811
|
+
"line": 10638,
|
|
22800
22812
|
"description": "This corresponds to append positions text curlies.",
|
|
22801
22813
|
"class": "@glimmer/tracking",
|
|
22802
22814
|
"module": "@glimmer/component"
|
|
22803
22815
|
},
|
|
22804
22816
|
{
|
|
22805
22817
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22806
|
-
"line":
|
|
22818
|
+
"line": 10652,
|
|
22807
22819
|
"description": "A call node has a simple callee if its head is:\n\n- a `PathExpression`\n- the `PathExpression`'s head is a `VarHead`\n- it has no tail\n\nSimple heads:\n\n```\n{{x}}\n{{x y}}\n```\n\nNot simple heads:\n\n```\n{{x.y}}\n{{x.y z}}\n{{@x}}\n{{@x a}}\n{{this}}\n{{this a}}\n```",
|
|
22808
22820
|
"class": "@glimmer/tracking",
|
|
22809
22821
|
"module": "@glimmer/component"
|
|
22810
22822
|
},
|
|
22811
22823
|
{
|
|
22812
22824
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22813
|
-
"line":
|
|
22825
|
+
"line": 10709,
|
|
22814
22826
|
"description": "A `BlockContext` represents the block that a particular AST node is contained inside of.\n\n`BlockContext` is aware of template-wide options (such as strict mode), as well as the bindings\nthat are in-scope within that block.\n\nConcretely, it has the `PrecompileOptions` and current `SymbolTable`, and provides\nfacilities for working with those options.\n\n`BlockContext` is stateless.",
|
|
22815
22827
|
"class": "@glimmer/tracking",
|
|
22816
22828
|
"module": "@glimmer/component"
|
|
22817
22829
|
},
|
|
22818
22830
|
{
|
|
22819
22831
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22820
|
-
"line":
|
|
22832
|
+
"line": 10791,
|
|
22821
22833
|
"description": "An `ExpressionNormalizer` normalizes expressions within a block.\n\n`ExpressionNormalizer` is stateless.",
|
|
22822
22834
|
"class": "@glimmer/tracking",
|
|
22823
22835
|
"module": "@glimmer/component"
|
|
22824
22836
|
},
|
|
22825
22837
|
{
|
|
22826
22838
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22827
|
-
"line":
|
|
22839
|
+
"line": 10801,
|
|
22828
22840
|
"description": "The `normalize` method takes an arbitrary expression and its original syntax context and\nnormalizes it to an ASTv2 expression.",
|
|
22829
22841
|
"see": [
|
|
22830
22842
|
"{SyntaxContext}"
|
|
@@ -22834,63 +22846,63 @@
|
|
|
22834
22846
|
},
|
|
22835
22847
|
{
|
|
22836
22848
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22837
|
-
"line":
|
|
22849
|
+
"line": 10855,
|
|
22838
22850
|
"description": "The `callParts` method takes ASTv1.CallParts as well as a syntax context and normalizes\nit to an ASTv2 CallParts.",
|
|
22839
22851
|
"class": "@glimmer/tracking",
|
|
22840
22852
|
"module": "@glimmer/component"
|
|
22841
22853
|
},
|
|
22842
22854
|
{
|
|
22843
22855
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22844
|
-
"line":
|
|
22856
|
+
"line": 10897,
|
|
22845
22857
|
"description": "The `ref` method normalizes an `ASTv1.PathHead` into an `ASTv2.VariableReference`.\nThis method is extremely important, because it is responsible for normalizing free\nvariables into an an ASTv2.PathHead *with appropriate context*.\n\nThe syntax context is originally determined by the syntactic position that this `PathHead`\ncame from, and is ultimately attached to the `ASTv2.VariableReference` here. In ASTv2,\nthe `VariableReference` node bears full responsibility for loose mode rules that control\nthe behavior of free variables.",
|
|
22846
22858
|
"class": "@glimmer/tracking",
|
|
22847
22859
|
"module": "@glimmer/component"
|
|
22848
22860
|
},
|
|
22849
22861
|
{
|
|
22850
22862
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22851
|
-
"line":
|
|
22863
|
+
"line": 10948,
|
|
22852
22864
|
"description": "`TemplateNormalizer` normalizes top-level ASTv1 statements to ASTv2.",
|
|
22853
22865
|
"class": "@glimmer/tracking",
|
|
22854
22866
|
"module": "@glimmer/component"
|
|
22855
22867
|
},
|
|
22856
22868
|
{
|
|
22857
22869
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22858
|
-
"line":
|
|
22870
|
+
"line": 11026,
|
|
22859
22871
|
"description": "Normalizes an ASTv1.MustacheStatement to an ASTv2.AppendStatement",
|
|
22860
22872
|
"class": "@glimmer/tracking",
|
|
22861
22873
|
"module": "@glimmer/component"
|
|
22862
22874
|
},
|
|
22863
22875
|
{
|
|
22864
22876
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22865
|
-
"line":
|
|
22877
|
+
"line": 11066,
|
|
22866
22878
|
"description": "Normalizes a ASTv1.BlockStatement to an ASTv2.BlockStatement",
|
|
22867
22879
|
"class": "@glimmer/tracking",
|
|
22868
22880
|
"module": "@glimmer/component"
|
|
22869
22881
|
},
|
|
22870
22882
|
{
|
|
22871
22883
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22872
|
-
"line":
|
|
22884
|
+
"line": 11109,
|
|
22873
22885
|
"description": "Normalizes an ASTv1.ElementNode to:\n\n- ASTv2.NamedBlock if the tag name begins with `:`\n- ASTv2.Component if the tag name matches the component heuristics\n- ASTv2.SimpleElement if the tag name doesn't match the component heuristics\n\nA tag name represents a component if:\n\n- it begins with `@`\n- it is exactly `this` or begins with `this.`\n- the part before the first `.` is a reference to an in-scope variable binding\n- it begins with an uppercase character",
|
|
22874
22886
|
"class": "@glimmer/tracking",
|
|
22875
22887
|
"module": "@glimmer/component"
|
|
22876
22888
|
},
|
|
22877
22889
|
{
|
|
22878
22890
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22879
|
-
"line":
|
|
22891
|
+
"line": 11184,
|
|
22880
22892
|
"description": "This method handles attribute values that are curlies, as well as curlies nested inside of\ninterpolations:\n\n```hbs\n<a href={{url}} />\n<a href=\"{{url}}.html\" />\n```",
|
|
22881
22893
|
"class": "@glimmer/tracking",
|
|
22882
22894
|
"module": "@glimmer/component"
|
|
22883
22895
|
},
|
|
22884
22896
|
{
|
|
22885
22897
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22886
|
-
"line":
|
|
22898
|
+
"line": 11223,
|
|
22887
22899
|
"description": "attrPart is the narrowed down list of valid attribute values that are also\nallowed as a concat part (you can't nest concats).",
|
|
22888
22900
|
"class": "@glimmer/tracking",
|
|
22889
22901
|
"module": "@glimmer/component"
|
|
22890
22902
|
},
|
|
22891
22903
|
{
|
|
22892
22904
|
"file": "packages/@glimmer/syntax/dist/es/index.js",
|
|
22893
|
-
"line":
|
|
22905
|
+
"line": 11318,
|
|
22894
22906
|
"description": "This function classifies the head of an ASTv1.Element into an ASTv2.PathHead (if the\nelement is a component) or `'ElementHead'` (if the element is a simple element).\n\nRules:\n\n1. If the variable is an `@arg`, return an `AtHead`\n2. If the variable is `this`, return a `ThisHead`\n3. If the variable is in the current scope:\n a. If the scope is the root scope, then return a Free `LocalVarHead`\n b. Else, return a standard `LocalVarHead`\n4. If the tag name is a path and the variable is not in the current scope, Syntax Error\n5. If the variable is uppercase return a FreeVar(ResolveAsComponentHead)\n6. Otherwise, return `'ElementHead'`",
|
|
22895
22907
|
"class": "@glimmer/tracking",
|
|
22896
22908
|
"module": "@glimmer/component"
|
|
@@ -23329,11 +23341,23 @@
|
|
|
23329
23341
|
},
|
|
23330
23342
|
{
|
|
23331
23343
|
"file": "packages/@glimmer/syntax/lib/source/source.ts",
|
|
23332
|
-
"line":
|
|
23344
|
+
"line": 15,
|
|
23345
|
+
"class": "@glimmer/tracking",
|
|
23346
|
+
"module": "@glimmer/component"
|
|
23347
|
+
},
|
|
23348
|
+
{
|
|
23349
|
+
"file": "packages/@glimmer/syntax/lib/source/source.ts",
|
|
23350
|
+
"line": 26,
|
|
23333
23351
|
"description": "Validate that the character offset represents a position in the source string.",
|
|
23334
23352
|
"class": "@glimmer/tracking",
|
|
23335
23353
|
"module": "@glimmer/component"
|
|
23336
23354
|
},
|
|
23355
|
+
{
|
|
23356
|
+
"file": "packages/@glimmer/syntax/lib/source/source.ts",
|
|
23357
|
+
"line": 91,
|
|
23358
|
+
"class": "@glimmer/tracking",
|
|
23359
|
+
"module": "@glimmer/component"
|
|
23360
|
+
},
|
|
23337
23361
|
{
|
|
23338
23362
|
"file": "packages/@glimmer/syntax/lib/traversal/visitor.ts",
|
|
23339
23363
|
"line": 20,
|
|
@@ -23826,56 +23850,56 @@
|
|
|
23826
23850
|
},
|
|
23827
23851
|
{
|
|
23828
23852
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23829
|
-
"line":
|
|
23853
|
+
"line": 306,
|
|
23830
23854
|
"description": "The `ref` method normalizes an `ASTv1.PathHead` into an `ASTv2.VariableReference`.\nThis method is extremely important, because it is responsible for normalizing free\nvariables into an an ASTv2.PathHead *with appropriate context*.\n\nThe syntax context is originally determined by the syntactic position that this `PathHead`\ncame from, and is ultimately attached to the `ASTv2.VariableReference` here. In ASTv2,\nthe `VariableReference` node bears full responsibility for loose mode rules that control\nthe behavior of free variables.",
|
|
23831
23855
|
"class": "@glimmer/tracking",
|
|
23832
23856
|
"module": "@glimmer/component"
|
|
23833
23857
|
},
|
|
23834
23858
|
{
|
|
23835
23859
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23836
|
-
"line":
|
|
23860
|
+
"line": 353,
|
|
23837
23861
|
"description": "`TemplateNormalizer` normalizes top-level ASTv1 statements to ASTv2.",
|
|
23838
23862
|
"class": "@glimmer/tracking",
|
|
23839
23863
|
"module": "@glimmer/component"
|
|
23840
23864
|
},
|
|
23841
23865
|
{
|
|
23842
23866
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23843
|
-
"line":
|
|
23867
|
+
"line": 442,
|
|
23844
23868
|
"description": "Normalizes an ASTv1.MustacheStatement to an ASTv2.AppendStatement",
|
|
23845
23869
|
"class": "@glimmer/tracking",
|
|
23846
23870
|
"module": "@glimmer/component"
|
|
23847
23871
|
},
|
|
23848
23872
|
{
|
|
23849
23873
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23850
|
-
"line":
|
|
23874
|
+
"line": 490,
|
|
23851
23875
|
"description": "Normalizes a ASTv1.BlockStatement to an ASTv2.BlockStatement",
|
|
23852
23876
|
"class": "@glimmer/tracking",
|
|
23853
23877
|
"module": "@glimmer/component"
|
|
23854
23878
|
},
|
|
23855
23879
|
{
|
|
23856
23880
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23857
|
-
"line":
|
|
23881
|
+
"line": 544,
|
|
23858
23882
|
"description": "Normalizes an ASTv1.ElementNode to:\n\n- ASTv2.NamedBlock if the tag name begins with `:`\n- ASTv2.Component if the tag name matches the component heuristics\n- ASTv2.SimpleElement if the tag name doesn't match the component heuristics\n\nA tag name represents a component if:\n\n- it begins with `@`\n- it is exactly `this` or begins with `this.`\n- the part before the first `.` is a reference to an in-scope variable binding\n- it begins with an uppercase character",
|
|
23859
23883
|
"class": "@glimmer/tracking",
|
|
23860
23884
|
"module": "@glimmer/component"
|
|
23861
23885
|
},
|
|
23862
23886
|
{
|
|
23863
23887
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23864
|
-
"line":
|
|
23888
|
+
"line": 629,
|
|
23865
23889
|
"description": "This method handles attribute values that are curlies, as well as curlies nested inside of\ninterpolations:\n\n```hbs\n<a href={{url}} />\n<a href=\"{{url}}.html\" />\n```",
|
|
23866
23890
|
"class": "@glimmer/tracking",
|
|
23867
23891
|
"module": "@glimmer/component"
|
|
23868
23892
|
},
|
|
23869
23893
|
{
|
|
23870
23894
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23871
|
-
"line":
|
|
23895
|
+
"line": 672,
|
|
23872
23896
|
"description": "attrPart is the narrowed down list of valid attribute values that are also\nallowed as a concat part (you can't nest concats).",
|
|
23873
23897
|
"class": "@glimmer/tracking",
|
|
23874
23898
|
"module": "@glimmer/component"
|
|
23875
23899
|
},
|
|
23876
23900
|
{
|
|
23877
23901
|
"file": "packages/@glimmer/syntax/lib/v2/normalize.ts",
|
|
23878
|
-
"line":
|
|
23902
|
+
"line": 780,
|
|
23879
23903
|
"description": "This function classifies the head of an ASTv1.Element into an ASTv2.PathHead (if the\nelement is a component) or `'ElementHead'` (if the element is a simple element).\n\nRules:\n\n1. If the variable is an `@arg`, return an `AtHead`\n2. If the variable is `this`, return a `ThisHead`\n3. If the variable is in the current scope:\n a. If the scope is the root scope, then return a Free `LocalVarHead`\n b. Else, return a standard `LocalVarHead`\n4. If the tag name is a path and the variable is not in the current scope, Syntax Error\n5. If the variable is uppercase return a FreeVar(ResolveAsComponentHead)\n6. Otherwise, return `'ElementHead'`",
|
|
23880
23904
|
"class": "@glimmer/tracking",
|
|
23881
23905
|
"module": "@glimmer/component"
|
|
@@ -25819,19 +25843,19 @@
|
|
|
25819
25843
|
},
|
|
25820
25844
|
{
|
|
25821
25845
|
"message": "Missing item type\n(helper)\n(helper arg)",
|
|
25822
|
-
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:
|
|
25846
|
+
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:142"
|
|
25823
25847
|
},
|
|
25824
25848
|
{
|
|
25825
25849
|
"message": "Missing item type\n<div {{modifier}}/>\n<div {{modifier arg}}/>\n<Foo {{modifier}}/>",
|
|
25826
|
-
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:
|
|
25850
|
+
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:189"
|
|
25827
25851
|
},
|
|
25828
25852
|
{
|
|
25829
25853
|
"message": "Missing item type\n{{component-or-helper arg}}",
|
|
25830
|
-
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:
|
|
25854
|
+
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:252"
|
|
25831
25855
|
},
|
|
25832
25856
|
{
|
|
25833
25857
|
"message": "Missing item type\n{{maybeHelperOrComponent}}",
|
|
25834
|
-
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:
|
|
25858
|
+
"line": " packages/@glimmer/opcode-compiler/lib/opcode-builder/helpers/resolution.ts:342"
|
|
25835
25859
|
},
|
|
25836
25860
|
{
|
|
25837
25861
|
"message": "Missing item type\nCompile arguments, pushing an Arguments object onto the stack.",
|
|
@@ -26269,241 +26293,249 @@
|
|
|
26269
26293
|
"message": "Missing item type\nCompare two {@see AnyPosition} and determine whether they are equal.",
|
|
26270
26294
|
"line": " packages/@glimmer/syntax/dist/es/index.js:6816"
|
|
26271
26295
|
},
|
|
26296
|
+
{
|
|
26297
|
+
"message": "Missing item type",
|
|
26298
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:6840"
|
|
26299
|
+
},
|
|
26272
26300
|
{
|
|
26273
26301
|
"message": "Missing item type\nValidate that the character offset represents a position in the source string.",
|
|
26274
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26302
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:6849"
|
|
26303
|
+
},
|
|
26304
|
+
{
|
|
26305
|
+
"message": "Missing item type",
|
|
26306
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:6916"
|
|
26275
26307
|
},
|
|
26276
26308
|
{
|
|
26277
26309
|
"message": "Missing item type\nThe Parser Builder differentiates from the public builder API by:\n\n1. Offering fewer different ways to instantiate nodes\n2. Mandating source locations",
|
|
26278
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26310
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:7827"
|
|
26279
26311
|
},
|
|
26280
26312
|
{
|
|
26281
26313
|
"message": "Missing item type\nASTPlugins can make changes to the Glimmer template AST before\ncompilation begins.",
|
|
26282
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26314
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9356"
|
|
26283
26315
|
},
|
|
26284
26316
|
{
|
|
26285
26317
|
"message": "Missing item type\nGets the correct Token from the Node based on it's type",
|
|
26286
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26318
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9424"
|
|
26287
26319
|
},
|
|
26288
26320
|
{
|
|
26289
26321
|
"message": "Missing item type\nAdds tokens to the tokensSet based on their node.type",
|
|
26290
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26322
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9467"
|
|
26291
26323
|
},
|
|
26292
26324
|
{
|
|
26293
26325
|
"message": "Missing item type\nParses and traverses a given handlebars html template to extract all template locals\nreferenced that could possible come from the parent scope. Can exclude known keywords\noptionally.",
|
|
26294
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26326
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9480"
|
|
26295
26327
|
},
|
|
26296
26328
|
{
|
|
26297
26329
|
"message": "Missing item type\nThis is a convenience function for creating ASTv2 nodes, with an optional name and the node's\noptions.\n\n```ts\nexport class HtmlText extends node('HtmlText').fields<{ chars: string }>() {}\n```\n\nThis creates a new ASTv2 node with the name `'HtmlText'` and one field `chars: string` (in\naddition to a `loc: SourceOffsets` field, which all nodes have).\n\n```ts\nexport class Args extends node().fields<{\n positional: PositionalArguments;\n named: NamedArguments\n}>() {}\n```\n\nThis creates a new un-named ASTv2 node with two fields (`positional: Positional` and `named:\nNamed`, in addition to the generic `loc: SourceOffsets` field).\n\nOnce you create a node using `node`, it is instantiated with all of its fields (including `loc`):\n\n```ts\nnew HtmlText({ loc: offsets, chars: someString });\n```",
|
|
26298
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26330
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9543"
|
|
26299
26331
|
},
|
|
26300
26332
|
{
|
|
26301
26333
|
"message": "Missing item type\nCorresponds to syntaxes with positional and named arguments:\n\n- SubExpression\n- Invoking Append\n- Invoking attributes\n- InvokeBlock\n\nIf `Args` is empty, the `SourceOffsets` for this node should be the collapsed position\nimmediately after the parent call node's `callee`.",
|
|
26302
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26334
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9603"
|
|
26303
26335
|
},
|
|
26304
26336
|
{
|
|
26305
26337
|
"message": "Missing item type\nCorresponds to positional arguments.\n\nIf `PositionalArguments` is empty, the `SourceOffsets` for this node should be the collapsed\nposition immediately after the parent call node's `callee`.",
|
|
26306
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26338
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9640"
|
|
26307
26339
|
},
|
|
26308
26340
|
{
|
|
26309
26341
|
"message": "Missing item type\nCorresponds to named arguments.\n\nIf `PositionalArguments` and `NamedArguments` are empty, the `SourceOffsets` for this node should\nbe the same as the `Args` node that contains this node.\n\nIf `PositionalArguments` is not empty but `NamedArguments` is empty, the `SourceOffsets` for this\nnode should be the collapsed position immediately after the last positional argument.",
|
|
26310
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26342
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9664"
|
|
26311
26343
|
},
|
|
26312
26344
|
{
|
|
26313
26345
|
"message": "Missing item type\nCorresponds to a single named argument.\n\n```hbs\nx=<expr>\n```",
|
|
26314
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26346
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9692"
|
|
26315
26347
|
},
|
|
26316
26348
|
{
|
|
26317
26349
|
"message": "Missing item type\nAttr nodes look like HTML attributes, but are classified as:\n\n1. `HtmlAttr`, which means a regular HTML attribute in Glimmer\n2. `SplatAttr`, which means `...attributes`\n3. `ComponentArg`, which means an attribute whose name begins with `@`, and it is therefore a\n component argument.",
|
|
26318
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26350
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9710"
|
|
26319
26351
|
},
|
|
26320
26352
|
{
|
|
26321
26353
|
"message": "Missing item type\n`HtmlAttr` and `SplatAttr` are grouped together because the order of the `SplatAttr` node,\nrelative to other attributes, matters.",
|
|
26322
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26354
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9719"
|
|
26323
26355
|
},
|
|
26324
26356
|
{
|
|
26325
26357
|
"message": "Missing item type\n\"Attr Block\" nodes are allowed inside an open element tag in templates. They interact with the\nelement (or component).",
|
|
26326
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26358
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9724"
|
|
26327
26359
|
},
|
|
26328
26360
|
{
|
|
26329
26361
|
"message": "Missing item type\n`HtmlAttr` nodes are valid HTML attributes, with or without a value.\n\nExceptions:\n\n- `...attributes` is `SplatAttr`\n- `@x=<value>` is `ComponentArg`",
|
|
26330
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26362
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9729"
|
|
26331
26363
|
},
|
|
26332
26364
|
{
|
|
26333
26365
|
"message": "Missing item type\nCorresponds to an argument passed by a component (`@x=<value>`)",
|
|
26334
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26366
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9740"
|
|
26335
26367
|
},
|
|
26336
26368
|
{
|
|
26337
26369
|
"message": "Missing item type\nConvert the component argument into a named argument node",
|
|
26338
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26370
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9744"
|
|
26339
26371
|
},
|
|
26340
26372
|
{
|
|
26341
26373
|
"message": "Missing item type\nAn `ElementModifier` is just a normal call node in modifier position.",
|
|
26342
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26374
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9755"
|
|
26343
26375
|
},
|
|
26344
26376
|
{
|
|
26345
26377
|
"message": "Missing item type\nContent Nodes are allowed in content positions in templates. They correspond to behavior in the\n[Data][data] tokenization state in HTML.\n\n[data]: https://html.spec.whatwg.org/multipage/parsing.html#data-state",
|
|
26346
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26378
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9760"
|
|
26347
26379
|
},
|
|
26348
26380
|
{
|
|
26349
26381
|
"message": "Missing item type\nCorresponds to a component invocation. When the content of a component invocation contains no\nnamed blocks, `blocks` contains a single named block named `\"default\"`. When a component\ninvocation is self-closing, `blocks` is empty.",
|
|
26350
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26382
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9787"
|
|
26351
26383
|
},
|
|
26352
26384
|
{
|
|
26353
26385
|
"message": "Missing item type\nCorresponds to a simple HTML element. The AST allows component arguments and modifiers to support\nfuture extensions.",
|
|
26354
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26386
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9801"
|
|
26355
26387
|
},
|
|
26356
26388
|
{
|
|
26357
26389
|
"message": "Missing item type\nA Handlebars literal.\n\n{@link https://handlebarsjs.com/guide/expressions.html#literal-segments}",
|
|
26358
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26390
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9815"
|
|
26359
26391
|
},
|
|
26360
26392
|
{
|
|
26361
26393
|
"message": "Missing item type\nCorresponds to a Handlebars literal.",
|
|
26362
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26394
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9821"
|
|
26363
26395
|
},
|
|
26364
26396
|
{
|
|
26365
26397
|
"message": "Missing item type\nReturns true if an input {@see ExpressionNode} is a literal.",
|
|
26366
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26398
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9834"
|
|
26367
26399
|
},
|
|
26368
26400
|
{
|
|
26369
26401
|
"message": "Missing item type\nCorresponds to a path in expression position.\n\n```hbs\nthis\nthis.x\n@x\n@x.y\nx\nx.y\n```",
|
|
26370
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26402
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9851"
|
|
26371
26403
|
},
|
|
26372
26404
|
{
|
|
26373
26405
|
"message": "Missing item type\nCorresponds to a known strict-mode keyword. It behaves similarly to a\nPathExpression with a FreeVarReference, but implies StrictResolution and\nis guaranteed to not have a tail, since `{{outlet.foo}}` would have been\nillegal.",
|
|
26374
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26406
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9865"
|
|
26375
26407
|
},
|
|
26376
26408
|
{
|
|
26377
26409
|
"message": "Missing item type\nCorresponds to a parenthesized call expression.\n\n```hbs\n(x)\n(x.y)\n(x y)\n(x.y z)\n```",
|
|
26378
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26410
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9873"
|
|
26379
26411
|
},
|
|
26380
26412
|
{
|
|
26381
26413
|
"message": "Missing item type\nCorresponds to an interpolation in attribute value position.\n\n```hbs\n<a href=\"{{url}}.html\"\n```",
|
|
26382
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26414
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9885"
|
|
26383
26415
|
},
|
|
26384
26416
|
{
|
|
26385
26417
|
"message": "Missing item type\nCorresponds to an entire template.",
|
|
26386
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26418
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9894"
|
|
26387
26419
|
},
|
|
26388
26420
|
{
|
|
26389
26421
|
"message": "Missing item type\nRepresents a block. In principle this could be merged with `NamedBlock`, because all cases\ninvolving blocks have at least a notional name.",
|
|
26390
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26422
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9899"
|
|
26391
26423
|
},
|
|
26392
26424
|
{
|
|
26393
26425
|
"message": "Missing item type\nCorresponds to a collection of named blocks.",
|
|
26394
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26426
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9905"
|
|
26395
26427
|
},
|
|
26396
26428
|
{
|
|
26397
26429
|
"message": "Missing item type\nGet the `NamedBlock` for a given name.",
|
|
26398
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26430
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9909"
|
|
26399
26431
|
},
|
|
26400
26432
|
{
|
|
26401
26433
|
"message": "Missing item type\nCorresponds to a single named block. This is used for anonymous named blocks (`default` and\n`else`).",
|
|
26402
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26434
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9917"
|
|
26403
26435
|
},
|
|
26404
26436
|
{
|
|
26405
26437
|
"message": "Missing item type\nCorresponds to `this` at the head of an expression.",
|
|
26406
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26438
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9931"
|
|
26407
26439
|
},
|
|
26408
26440
|
{
|
|
26409
26441
|
"message": "Missing item type\nCorresponds to `@<ident>` at the beginning of an expression.",
|
|
26410
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26442
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9936"
|
|
26411
26443
|
},
|
|
26412
26444
|
{
|
|
26413
26445
|
"message": "Missing item type\nCorresponds to `<ident>` at the beginning of an expression, when `<ident>` is in the current\nblock's scope.",
|
|
26414
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26446
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9941"
|
|
26415
26447
|
},
|
|
26416
26448
|
{
|
|
26417
26449
|
"message": "Missing item type\nCorresponds to `<ident>` at the beginning of an expression, when `<ident>` is *not* in the\ncurrent block's scope.\n\nThe `resolution: FreeVarResolution` field describes how to resolve the free variable.\n\nNote: In strict mode, it must always be a variable that is in a concrete JavaScript scope that\nthe template will be installed into.",
|
|
26418
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26450
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9947"
|
|
26419
26451
|
},
|
|
26420
26452
|
{
|
|
26421
26453
|
"message": "Missing item type\nA free variable is resolved according to a resolution rule:\n\n1. Strict resolution\n2. Namespaced resolution",
|
|
26422
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26454
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9964"
|
|
26423
26455
|
},
|
|
26424
26456
|
{
|
|
26425
26457
|
"message": "Missing item type\nStrict resolution is used:\n\n1. in a strict mode template\n2. in an local variable invocation with dot paths",
|
|
26426
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26458
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9972"
|
|
26427
26459
|
},
|
|
26428
26460
|
{
|
|
26429
26461
|
"message": "Missing item type\nA `LooseModeResolution` includes one or more namespaces to resolve the variable in\n\nIn practice, there are a limited number of possible combinations of these degrees of freedom,\nand they are captured by the `Namespaces` union below.",
|
|
26430
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26462
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9991"
|
|
26431
26463
|
},
|
|
26432
26464
|
{
|
|
26433
26465
|
"message": "Missing item type\nNamespaced resolution is used in an unambiguous syntax position:\n\n1. `(sexp)` (namespace: `Helper`)\n2. `{{#block}}` (namespace: `Component`)\n3. `<a {{modifier}}>` (namespace: `Modifier`)\n4. `<Component />` (namespace: `Component`)",
|
|
26434
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26466
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:9998"
|
|
26435
26467
|
},
|
|
26436
26468
|
{
|
|
26437
26469
|
"message": "Missing item type\nAppend resolution is used when the variable should be resolved in both the `component` and\n`helper` namespaces.\n\n```hbs\n{{x}}\n```\n\n```hbs\n{{x y}}\n```\n\n^ In either case, `x` should be resolved in the `component` and `helper` namespaces.",
|
|
26438
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26470
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10010"
|
|
26439
26471
|
},
|
|
26440
26472
|
{
|
|
26441
26473
|
"message": "Missing item type\nTrusting append resolution is used when the variable should be resolved only in the\n`helper` namespaces.\n\n```hbs\n{{{x}}}\n```\n\n```hbs\n{{{x y}}}\n```\n\n^ In either case, `x` should be resolved in the `helper` namespace.",
|
|
26442
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26474
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10028"
|
|
26443
26475
|
},
|
|
26444
26476
|
{
|
|
26445
26477
|
"message": "Missing item type\nA `Namespaced` must be resolved in one or more namespaces.\n\n```hbs\n<X />\n```\n\n^ `X` is resolved in the `component` namespace\n\n```hbs\n(x)\n```\n\n^ `x` is resolved in the `helper` namespace\n\n```hbs\n<a {{x}} />\n```\n\n^ `x` is resolved in the `modifier` namespace",
|
|
26446
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26478
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10075"
|
|
26447
26479
|
},
|
|
26448
26480
|
{
|
|
26449
26481
|
"message": "Missing item type\nThis corresponds to attribute curlies (<Foo bar={{...}}>).\nIn strict mode, this also corresponds to arg curlies.",
|
|
26450
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26482
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10626"
|
|
26451
26483
|
},
|
|
26452
26484
|
{
|
|
26453
26485
|
"message": "Missing item type\nThis corresponds to append positions text curlies.",
|
|
26454
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26486
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10638"
|
|
26455
26487
|
},
|
|
26456
26488
|
{
|
|
26457
26489
|
"message": "Missing item type\nA call node has a simple callee if its head is:\n\n- a `PathExpression`\n- the `PathExpression`'s head is a `VarHead`\n- it has no tail\n\nSimple heads:\n\n```\n{{x}}\n{{x y}}\n```\n\nNot simple heads:\n\n```\n{{x.y}}\n{{x.y z}}\n{{@x}}\n{{@x a}}\n{{this}}\n{{this a}}\n```",
|
|
26458
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26490
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10652"
|
|
26459
26491
|
},
|
|
26460
26492
|
{
|
|
26461
26493
|
"message": "Missing item type\nA `BlockContext` represents the block that a particular AST node is contained inside of.\n\n`BlockContext` is aware of template-wide options (such as strict mode), as well as the bindings\nthat are in-scope within that block.\n\nConcretely, it has the `PrecompileOptions` and current `SymbolTable`, and provides\nfacilities for working with those options.\n\n`BlockContext` is stateless.",
|
|
26462
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26494
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10709"
|
|
26463
26495
|
},
|
|
26464
26496
|
{
|
|
26465
26497
|
"message": "Missing item type\nAn `ExpressionNormalizer` normalizes expressions within a block.\n\n`ExpressionNormalizer` is stateless.",
|
|
26466
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26498
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10791"
|
|
26467
26499
|
},
|
|
26468
26500
|
{
|
|
26469
26501
|
"message": "Missing item type\nThe `normalize` method takes an arbitrary expression and its original syntax context and\nnormalizes it to an ASTv2 expression.",
|
|
26470
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26502
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10801"
|
|
26471
26503
|
},
|
|
26472
26504
|
{
|
|
26473
26505
|
"message": "Missing item type\nThe `callParts` method takes ASTv1.CallParts as well as a syntax context and normalizes\nit to an ASTv2 CallParts.",
|
|
26474
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26506
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10855"
|
|
26475
26507
|
},
|
|
26476
26508
|
{
|
|
26477
26509
|
"message": "Missing item type\nThe `ref` method normalizes an `ASTv1.PathHead` into an `ASTv2.VariableReference`.\nThis method is extremely important, because it is responsible for normalizing free\nvariables into an an ASTv2.PathHead *with appropriate context*.\n\nThe syntax context is originally determined by the syntactic position that this `PathHead`\ncame from, and is ultimately attached to the `ASTv2.VariableReference` here. In ASTv2,\nthe `VariableReference` node bears full responsibility for loose mode rules that control\nthe behavior of free variables.",
|
|
26478
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26510
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10897"
|
|
26479
26511
|
},
|
|
26480
26512
|
{
|
|
26481
26513
|
"message": "Missing item type\n`TemplateNormalizer` normalizes top-level ASTv1 statements to ASTv2.",
|
|
26482
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26514
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:10948"
|
|
26483
26515
|
},
|
|
26484
26516
|
{
|
|
26485
26517
|
"message": "Missing item type\nNormalizes an ASTv1.MustacheStatement to an ASTv2.AppendStatement",
|
|
26486
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26518
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11026"
|
|
26487
26519
|
},
|
|
26488
26520
|
{
|
|
26489
26521
|
"message": "Missing item type\nNormalizes a ASTv1.BlockStatement to an ASTv2.BlockStatement",
|
|
26490
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26522
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11066"
|
|
26491
26523
|
},
|
|
26492
26524
|
{
|
|
26493
26525
|
"message": "Missing item type\nNormalizes an ASTv1.ElementNode to:\n\n- ASTv2.NamedBlock if the tag name begins with `:`\n- ASTv2.Component if the tag name matches the component heuristics\n- ASTv2.SimpleElement if the tag name doesn't match the component heuristics\n\nA tag name represents a component if:\n\n- it begins with `@`\n- it is exactly `this` or begins with `this.`\n- the part before the first `.` is a reference to an in-scope variable binding\n- it begins with an uppercase character",
|
|
26494
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26526
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11109"
|
|
26495
26527
|
},
|
|
26496
26528
|
{
|
|
26497
26529
|
"message": "Missing item type\nThis method handles attribute values that are curlies, as well as curlies nested inside of\ninterpolations:\n\n```hbs\n<a href={{url}} />\n<a href=\"{{url}}.html\" />\n```",
|
|
26498
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26530
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11184"
|
|
26499
26531
|
},
|
|
26500
26532
|
{
|
|
26501
26533
|
"message": "Missing item type\nattrPart is the narrowed down list of valid attribute values that are also\nallowed as a concat part (you can't nest concats).",
|
|
26502
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26534
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11223"
|
|
26503
26535
|
},
|
|
26504
26536
|
{
|
|
26505
26537
|
"message": "Missing item type\nThis function classifies the head of an ASTv1.Element into an ASTv2.PathHead (if the\nelement is a component) or `'ElementHead'` (if the element is a simple element).\n\nRules:\n\n1. If the variable is an `@arg`, return an `AtHead`\n2. If the variable is `this`, return a `ThisHead`\n3. If the variable is in the current scope:\n a. If the scope is the root scope, then return a Free `LocalVarHead`\n b. Else, return a standard `LocalVarHead`\n4. If the tag name is a path and the variable is not in the current scope, Syntax Error\n5. If the variable is uppercase return a FreeVar(ResolveAsComponentHead)\n6. Otherwise, return `'ElementHead'`",
|
|
26506
|
-
"line": " packages/@glimmer/syntax/dist/es/index.js:
|
|
26538
|
+
"line": " packages/@glimmer/syntax/dist/es/index.js:11318"
|
|
26507
26539
|
},
|
|
26508
26540
|
{
|
|
26509
26541
|
"message": "Missing item type\nUsed to override the mechanism of printing a given AST.Node.\n\nThis will generally only be useful to source -> source codemods\nwhere you would like to specialize/override the way a given node is\nprinted (e.g. you would like to preserve as much of the original\nformatting as possible).\n\nWhen the provided override returns undefined, the default built in printing\nwill be done for the AST.Node.",
|
|
@@ -26741,9 +26773,17 @@
|
|
|
26741
26773
|
"message": "Missing item type",
|
|
26742
26774
|
"line": " packages/@glimmer/syntax/lib/source/location.ts:29"
|
|
26743
26775
|
},
|
|
26776
|
+
{
|
|
26777
|
+
"message": "Missing item type",
|
|
26778
|
+
"line": " packages/@glimmer/syntax/lib/source/source.ts:15"
|
|
26779
|
+
},
|
|
26744
26780
|
{
|
|
26745
26781
|
"message": "Missing item type\nValidate that the character offset represents a position in the source string.",
|
|
26746
|
-
"line": " packages/@glimmer/syntax/lib/source/source.ts:
|
|
26782
|
+
"line": " packages/@glimmer/syntax/lib/source/source.ts:26"
|
|
26783
|
+
},
|
|
26784
|
+
{
|
|
26785
|
+
"message": "Missing item type",
|
|
26786
|
+
"line": " packages/@glimmer/syntax/lib/source/source.ts:91"
|
|
26747
26787
|
},
|
|
26748
26788
|
{
|
|
26749
26789
|
"message": "Missing item type",
|
|
@@ -27015,35 +27055,35 @@
|
|
|
27015
27055
|
},
|
|
27016
27056
|
{
|
|
27017
27057
|
"message": "Missing item type\nThe `ref` method normalizes an `ASTv1.PathHead` into an `ASTv2.VariableReference`.\nThis method is extremely important, because it is responsible for normalizing free\nvariables into an an ASTv2.PathHead *with appropriate context*.\n\nThe syntax context is originally determined by the syntactic position that this `PathHead`\ncame from, and is ultimately attached to the `ASTv2.VariableReference` here. In ASTv2,\nthe `VariableReference` node bears full responsibility for loose mode rules that control\nthe behavior of free variables.",
|
|
27018
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27058
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:306"
|
|
27019
27059
|
},
|
|
27020
27060
|
{
|
|
27021
27061
|
"message": "Missing item type\n`TemplateNormalizer` normalizes top-level ASTv1 statements to ASTv2.",
|
|
27022
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27062
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:353"
|
|
27023
27063
|
},
|
|
27024
27064
|
{
|
|
27025
27065
|
"message": "Missing item type\nNormalizes an ASTv1.MustacheStatement to an ASTv2.AppendStatement",
|
|
27026
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27066
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:442"
|
|
27027
27067
|
},
|
|
27028
27068
|
{
|
|
27029
27069
|
"message": "Missing item type\nNormalizes a ASTv1.BlockStatement to an ASTv2.BlockStatement",
|
|
27030
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27070
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:490"
|
|
27031
27071
|
},
|
|
27032
27072
|
{
|
|
27033
27073
|
"message": "Missing item type\nNormalizes an ASTv1.ElementNode to:\n\n- ASTv2.NamedBlock if the tag name begins with `:`\n- ASTv2.Component if the tag name matches the component heuristics\n- ASTv2.SimpleElement if the tag name doesn't match the component heuristics\n\nA tag name represents a component if:\n\n- it begins with `@`\n- it is exactly `this` or begins with `this.`\n- the part before the first `.` is a reference to an in-scope variable binding\n- it begins with an uppercase character",
|
|
27034
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27074
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:544"
|
|
27035
27075
|
},
|
|
27036
27076
|
{
|
|
27037
27077
|
"message": "Missing item type\nThis method handles attribute values that are curlies, as well as curlies nested inside of\ninterpolations:\n\n```hbs\n<a href={{url}} />\n<a href=\"{{url}}.html\" />\n```",
|
|
27038
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27078
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:629"
|
|
27039
27079
|
},
|
|
27040
27080
|
{
|
|
27041
27081
|
"message": "Missing item type\nattrPart is the narrowed down list of valid attribute values that are also\nallowed as a concat part (you can't nest concats).",
|
|
27042
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27082
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:672"
|
|
27043
27083
|
},
|
|
27044
27084
|
{
|
|
27045
27085
|
"message": "Missing item type\nThis function classifies the head of an ASTv1.Element into an ASTv2.PathHead (if the\nelement is a component) or `'ElementHead'` (if the element is a simple element).\n\nRules:\n\n1. If the variable is an `@arg`, return an `AtHead`\n2. If the variable is `this`, return a `ThisHead`\n3. If the variable is in the current scope:\n a. If the scope is the root scope, then return a Free `LocalVarHead`\n b. Else, return a standard `LocalVarHead`\n4. If the tag name is a path and the variable is not in the current scope, Syntax Error\n5. If the variable is uppercase return a FreeVar(ResolveAsComponentHead)\n6. Otherwise, return `'ElementHead'`",
|
|
27046
|
-
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:
|
|
27086
|
+
"line": " packages/@glimmer/syntax/lib/v2/normalize.ts:780"
|
|
27047
27087
|
},
|
|
27048
27088
|
{
|
|
27049
27089
|
"message": "Missing item type\nGets the correct Token from the Node based on it's type",
|