@glimmer/syntax
Advanced tools
Comparing version 0.77.6 to 0.78.0
@@ -203,2 +203,10 @@ "use strict"; | ||
deprecatedCall(arg, callee, loc) { | ||
return new ASTv2.DeprecatedCallExpression({ | ||
loc, | ||
arg, | ||
callee | ||
}); | ||
} | ||
interpolate(parts, loc) { | ||
@@ -344,2 +352,2 @@ (0, _util.assertPresent)(parts); | ||
exports.BuildElement = BuildElement; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9idWlsZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0E7O0FBRUE7O0FBRUE7O0FBRUE7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBT00sTUFBQSxPQUFBLENBQWM7QUFDbEI7QUFFQSxFQUFBLFFBQVEsQ0FBQSxPQUFBLEVBQUEsSUFBQSxFQUFBLEdBQUEsRUFHUztBQUVmLFdBQU8sSUFBSSxLQUFLLENBQVQsUUFBQSxDQUFtQjtBQUN4QixNQUFBLEtBQUssRUFEbUIsT0FBQTtBQUFBLE1BQUEsSUFBQTtBQUd4QixNQUFBO0FBSHdCLEtBQW5CLENBQVA7QUFSZ0IsR0FBQSxDQWVsQjs7O0FBRUEsRUFBQSxLQUFLLENBQUEsT0FBQSxFQUFBLElBQUEsRUFBQSxHQUFBLEVBQXNFO0FBQ3pFLFdBQU8sSUFBSSxLQUFLLENBQVQsS0FBQSxDQUFnQjtBQUNyQixNQUFBLEtBQUssRUFEZ0IsT0FBQTtBQUFBLE1BQUEsSUFBQTtBQUdyQixNQUFBO0FBSHFCLEtBQWhCLENBQVA7QUFLRDs7QUFFRCxFQUFBLFVBQVUsQ0FBQSxJQUFBLEVBQUEsS0FBQSxFQUFBLEdBQUEsRUFBdUQ7QUFDL0QsV0FBTyxJQUFJLEtBQUssQ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bG9jKTsgLy8gQlVJTERFUi5zaW1wbGVOYW1lZEJsb2NrKCdkZWZhdWx0JywgY2hpbGRyZW4sIHN5bWJvbHMsIGxvYyk7XG5cbiAgICByZXR1cm4gbmV3IEFTVHYyLkludm9rZUNvbXBvbmVudChcbiAgICAgIGFzc2lnbihcbiAgICAgICAge1xuICAgICAgICAgIGxvYyxcbiAgICAgICAgICBjYWxsZWUsXG4gICAgICAgICAgYmxvY2tzOiB0aGlzLmJ1aWxkZXIubmFtZWRCbG9ja3MoW25hbWVkQmxvY2tdLCBuYW1lZEJsb2NrLmxvYyksXG4gICAgICAgIH0sXG4gICAgICAgIHRoaXMuYmFzZVxuICAgICAgKVxuICAgICk7XG4gIH1cblxuICBjb21wb25lbnRXaXRoTmFtZWRCbG9ja3MoXG4gICAgY2FsbGVlOiBBU1R2Mi5FeHByZXNzaW9uTm9kZSxcbiAgICBibG9ja3M6IFByZXNlbnRBcnJheTxBU1R2Mi5OYW1lZEJsb2NrPixcbiAgICBsb2M6IFNvdXJjZVNwYW5cbiAgKTogQVNUdjIuSW52b2tlQ29tcG9uZW50IHtcbiAgICByZXR1cm4gbmV3IEFTVHYyLkludm9rZUNvbXBvbmVudChcbiAgICAgIGFzc2lnbihcbiAgICAgICAge1xuICAgICAgICAgIGxvYyxcbiAgICAgICAgICBjYWxsZWUsXG4gICAgICAgICAgYmxvY2tzOiB0aGlzLmJ1aWxkZXIubmFtZWRCbG9ja3MoYmxvY2tzLCBTcGFuTGlzdC5yYW5nZShibG9ja3MpKSxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy5iYXNlXG4gICAgICApXG4gICAgKTtcbiAgfVxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.isLiteral = isLiteral; | ||
exports.InterpolateExpression = exports.CallExpression = exports.PathExpression = exports.LiteralExpression = void 0; | ||
exports.InterpolateExpression = exports.DeprecatedCallExpression = exports.CallExpression = exports.PathExpression = exports.LiteralExpression = void 0; | ||
@@ -79,2 +79,20 @@ var _slice = require("../../source/slice"); | ||
/** | ||
* Corresponds to a possible deprecated helper call. Must be: | ||
* | ||
* 1. A free variable (not this.foo, not @foo, not local). | ||
* 2. Argument-less. | ||
* 3. In a component invocation's named argument position. | ||
* 4. Not parenthesized (not @bar={{(helper)}}). | ||
* 5. Not interpolated (not @bar="{{helper}}"). | ||
* | ||
* ```hbs | ||
* <Foo @bar={{helper}} /> | ||
* ``` | ||
*/ | ||
exports.CallExpression = CallExpression; | ||
class DeprecatedCallExpression extends (0, _node.node)('DeprecatedCall').fields() {} | ||
/** | ||
* Corresponds to an interpolation in attribute value position. | ||
@@ -88,3 +106,3 @@ * | ||
exports.CallExpression = CallExpression; | ||
exports.DeprecatedCallExpression = DeprecatedCallExpression; | ||
@@ -94,2 +112,2 @@ class InterpolateExpression extends (0, _node.node)('Interpolate').fields() {} | ||
exports.InterpolateExpression = InterpolateExpression; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9vYmplY3RzL2V4cHIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFFQTs7QUFFQTs7QUFrQkE7Ozs7O0FBS00sTUFBQSxpQkFBQSxTQUFpQyxnQkFBQSxTQUFBLEVBQWpDLE1BQWlDLEVBQWpDLENBQWtGO0FBQ3RGLEVBQUEsT0FBTyxHQUFBO0FBQ0wsV0FBTyxJQUFBLGtCQUFBLENBQWdCO0FBQUUsTUFBQSxHQUFHLEVBQUUsS0FBUCxHQUFBO0FBQWlCLE1BQUEsS0FBSyxFQUFFLEtBQUs7QUFBN0IsS0FBaEIsQ0FBUDtBQUNEOztBQUhxRjtBQVF4Rjs7Ozs7OztBQUdNLFNBQUEsU0FBQSxDQUFBLElBQUEsRUFBQSxJQU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BQcmVzZW50QXJyYXk8RXhwcmVzc2lvbk5vZGU+O1xufT4oKSB7fVxuXG5leHBvcnQgdHlwZSBFeHByZXNzaW9uTm9kZSA9XG4gIHwgTGl0ZXJhbEV4cHJlc3Npb25cbiAgfCBQYXRoRXhwcmVzc2lvblxuICB8IENhbGxFeHByZXNzaW9uXG4gIHwgRGVwcmVjYXRlZENhbGxFeHByZXNzaW9uXG4gIHwgSW50ZXJwb2xhdGVFeHByZXNzaW9uO1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -75,2 +75,10 @@ "use strict"; | ||
deprecatedCall(call) { | ||
return { | ||
type: 'DeprecatedCall', | ||
loc: call.loc.serialize(), | ||
callee: REF.free(call.callee) | ||
}; | ||
} | ||
interpolate(interpolate) { | ||
@@ -259,2 +267,5 @@ return { | ||
case 'DeprecatedCall': | ||
return EXPR.deprecatedCall(expr); | ||
case 'Interpolate': | ||
@@ -318,2 +329,2 @@ return EXPR.interpolate(expr); | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9zZXJpYWxpemUvc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFFQTs7QUFpQ00sTUFBQSxhQUFBLENBQW9CO0FBQ3hCLEVBQUEsR0FBRyxDQUFBLEdBQUEsRUFBd0I7QUFDekIsV0FBTztBQUNMLE1BQUEsSUFBSSxFQURDLEtBQUE7QUFFTCxNQUFBLEdBQUcsRUFBRSxHQUFHLENBQUgsR0FBQSxDQUZBLFNBRUEsRUFGQTtBQUdMLE1BQUEsSUFBSSxFQUFFLEdBQUcsQ0FBSCxJQUFBLENBQUEsU0FBQTtBQUhELEtBQVA7QUFLRDs7QUFFRCxFQUFBLElBQUksQ0FBQSxHQUFBLEVBQTRCO0F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GxlRWxlbWVudCc6XG4gICAgICAgIHJldHVybiBDT05URU5ULnNpbXBsZUVsZW1lbnQobm9kZSk7XG4gICAgfVxuICB9LFxufTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -188,2 +188,10 @@ var __rest = this && this.__rest || function (s, e) { | ||
deprecatedCall(arg, callee, loc) { | ||
return new ASTv2.DeprecatedCallExpression({ | ||
loc, | ||
arg, | ||
callee | ||
}); | ||
} | ||
interpolate(parts, loc) { | ||
@@ -324,2 +332,2 @@ assertPresent(parts); | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9idWlsZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUNBLFNBQVMsTUFBVCxFQUFpQixhQUFqQixFQUFnQyxNQUFoQyxRQUE4QyxlQUE5QztBQUVBLFNBQVMsV0FBVCxRQUE0QixpQkFBNUI7QUFFQSxTQUFTLFFBQVQsUUFBeUIscUJBQXpCO0FBRUEsT0FBTyxLQUFLLEtBQVosTUFBdUIsT0FBdkI7QUFPQSxPQUFNLE1BQU8sT0FBUCxDQUFjO0FBQ2xCO0FBRUEsRUFBQSxRQUFRLENBQ04sT0FETSxFQUVOLElBRk0sRUFHTixHQUhNLEVBR1M7QUFFZixXQUFPLElBQUksS0FBSyxDQUFDLFFBQVYsQ0FBbUI7QUFDeEIsTUFBQSxLQUFLLEVBQUUsT0FEaUI7QUFFeEIsTUFBQSxJQUZ3QjtBQUd4QixNQUFBO0FBSHdCLEtBQW5CLENBQVA7QUFLRCxHQWJpQixDQWVsQjs7O0FBRUEsRUFBQSxLQUFLLENBQUMsT0FBRCxFQUE0QixJQUE1QixFQUF1RCxHQUF2RCxFQUFzRTtBQUN6RSxXQUFPLElBQUksS0FBSyxDQUFDLEtB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tbWVudFtdO1xufVxuXG5leHBvcnQgY2xhc3MgQnVpbGRFbGVtZW50IHtcbiAgcmVhZG9ubHkgYnVpbGRlcjogQnVpbGRlcjtcbiAgY29uc3RydWN0b3IocmVhZG9ubHkgYmFzZTogQnVpbGRCYXNlRWxlbWVudCkge1xuICAgIHRoaXMuYnVpbGRlciA9IG5ldyBCdWlsZGVyKCk7XG4gIH1cblxuICBzaW1wbGUodGFnOiBTb3VyY2VTbGljZSwgYm9keTogQVNUdjIuQ29udGVudE5vZGVbXSwgbG9jOiBTb3VyY2VTcGFuKTogQVNUdjIuU2ltcGxlRWxlbWVudCB7XG4gICAgcmV0dXJuIG5ldyBBU1R2Mi5TaW1wbGVFbGVtZW50KFxuICAgICAgYXNzaWduKFxuICAgICAgICB7XG4gICAgICAgICAgdGFnLFxuICAgICAgICAgIGJvZHksXG4gICAgICAgICAgY29tcG9uZW50QXJnczogW10sXG4gICAgICAgICAgbG9jLFxuICAgICAgICB9LFxuICAgICAgICB0aGlzLmJhc2VcbiAgICAgIClcbiAgICApO1xuICB9XG5cbiAgbmFtZWQobmFtZTogU291cmNlU2xpY2UsIGJsb2NrOiBBU1R2Mi5CbG9jaywgbG9jOiBTb3VyY2VTcGFuKTogQVNUdjIuTmFtZWRCbG9jayB7XG4gICAgcmV0dXJuIG5ldyBBU1R2Mi5OYW1lZEJsb2NrKFxuICAgICAgYXNzaWduKFxuICAgICAgICB7XG4gICAgICAgICAgbmFtZSxcbiAgICAgICAgICBibG9jayxcbiAgICAgICAgICBjb21wb25lbnRBcmdzOiBbXSxcbiAgICAgICAgICBsb2MsXG4gICAgICAgIH0sXG4gICAgICAgIHRoaXMuYmFzZVxuICAgICAgKVxuICAgICk7XG4gIH1cblxuICBzZWxmQ2xvc2luZ0NvbXBvbmVudChjYWxsZWU6IEFTVHYyLkV4cHJlc3Npb25Ob2RlLCBsb2M6IFNvdXJjZVNwYW4pOiBBU1R2Mi5JbnZva2VDb21wb25lbnQge1xuICAgIHJldHVybiB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cbiAgICAgICAgICBsb2MsXG4gICAgICAgICAgY2FsbGVlLFxuICAgICAgICAgIGJsb2NrczogdGhpcy5idWlsZGVyLm5hbWVkQmxvY2tzKFtuYW1lZEJsb2NrXSwgbmFtZWRCbG9jay5sb2MpLFxuICAgICAgICB9LFxuICAgICAgICB0aGlzLmJhc2VcbiAgICAgIClcbiAgICApO1xuICB9XG5cbiAgY29tcG9uZW50V2l0aE5hbWVkQmxvY2tzKFxuICAgIGNhbGxlZTogQVNUdjIuRXhwcmVzc2lvbk5vZGUsXG4gICAgYmxvY2tzOiBQcmVzZW50QXJyYXk8QVNUdjIuTmFtZWRCbG9jaz4sXG4gICAgbG9jOiBTb3VyY2VTcGFuXG4gICk6IEFTVHYyLkludm9rZUNvbXBvbmVudCB7XG4gICAgcmV0dXJuIG5ldyBBU1R2Mi5JbnZva2VDb21wb25lbnQoXG4gICAgICBhc3NpZ24oXG4gICAgICAgIHtcbiAgICAgICAgICBsb2MsXG4gICAgICAgICAgY2FsbGVlLFxuICAgICAgICAgIGJsb2NrczogdGhpcy5idWlsZGVyLm5hbWVkQmxvY2tzKGJsb2NrcywgU3Bhbkxpc3QucmFuZ2UoYmxvY2tzKSksXG4gICAgICAgIH0sXG4gICAgICAgIHRoaXMuYmFzZVxuICAgICAgKVxuICAgICk7XG4gIH1cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9idWlsZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUNBLFNBQVMsTUFBVCxFQUFpQixhQUFqQixFQUFnQyxNQUFoQyxRQUE4QyxlQUE5QztBQUVBLFNBQVMsV0FBVCxRQUE0QixpQkFBNUI7QUFFQSxTQUFTLFFBQVQsUUFBeU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9ja3M6IHRoaXMuYnVpbGRlci5uYW1lZEJsb2NrcyhbbmFtZWRCbG9ja10sIG5hbWVkQmxvY2subG9jKSxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy5iYXNlXG4gICAgICApXG4gICAgKTtcbiAgfVxuXG4gIGNvbXBvbmVudFdpdGhOYW1lZEJsb2NrcyhcbiAgICBjYWxsZWU6IEFTVHYyLkV4cHJlc3Npb25Ob2RlLFxuICAgIGJsb2NrczogUHJlc2VudEFycmF5PEFTVHYyLk5hbWVkQmxvY2s+LFxuICAgIGxvYzogU291cmNlU3BhblxuICApOiBBU1R2Mi5JbnZva2VDb21wb25lbnQge1xuICAgIHJldHVybiBuZXcgQVNUdjIuSW52b2tlQ29tcG9uZW50KFxuICAgICAgYXNzaWduKFxuICAgICAgICB7XG4gICAgICAgICAgbG9jLFxuICAgICAgICAgIGNhbGxlZSxcbiAgICAgICAgICBibG9ja3M6IHRoaXMuYnVpbGRlci5uYW1lZEJsb2NrcyhibG9ja3MsIFNwYW5MaXN0LnJhbmdlKGJsb2NrcykpLFxuICAgICAgICB9LFxuICAgICAgICB0aGlzLmJhc2VcbiAgICAgIClcbiAgICApO1xuICB9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -62,2 +62,17 @@ import { SourceSlice } from '../../source/slice'; | ||
/** | ||
* Corresponds to a possible deprecated helper call. Must be: | ||
* | ||
* 1. A free variable (not this.foo, not @foo, not local). | ||
* 2. Argument-less. | ||
* 3. In a component invocation's named argument position. | ||
* 4. Not parenthesized (not @bar={{(helper)}}). | ||
* 5. Not interpolated (not @bar="{{helper}}"). | ||
* | ||
* ```hbs | ||
* <Foo @bar={{helper}} /> | ||
* ``` | ||
*/ | ||
export class DeprecatedCallExpression extends node('DeprecatedCall').fields() {} | ||
/** | ||
* Corresponds to an interpolation in attribute value position. | ||
@@ -71,2 +86,2 @@ * | ||
export class InterpolateExpression extends node('Interpolate').fields() {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8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DQuIE5vdCBwYXJlbnRoZXNpemVkIChub3QgQGJhcj17eyhoZWxwZXIpfX0pLlxuICogNS4gTm90IGludGVycG9sYXRlZCAobm90IEBiYXI9XCJ7e2hlbHBlcn19XCIpLlxuICpcbiAqIGBgYGhic1xuICogPEZvbyBAYmFyPXt7aGVscGVyfX0gLz5cbiAqIGBgYFxuICovXG5leHBvcnQgY2xhc3MgRGVwcmVjYXRlZENhbGxFeHByZXNzaW9uIGV4dGVuZHMgbm9kZSgnRGVwcmVjYXRlZENhbGwnKS5maWVsZHM8e1xuICBhcmc6IFNvdXJjZVNsaWNlO1xuICBjYWxsZWU6IEZyZWVWYXJSZWZlcmVuY2U7XG59PigpIHt9XG5cbi8qKlxuICogQ29ycmVzcG9uZHMgdG8gYW4gaW50ZXJwb2xhdGlvbiBpbiBhdHRyaWJ1dGUgdmFsdWUgcG9zaXRpb24uXG4gKlxuICogYGBgaGJzXG4gKiA8YSBocmVmPVwie3t1cmx9fS5odG1sXCJcbiAqIGBgYFxuICovXG5leHBvcnQgY2xhc3MgSW50ZXJwb2xhdGVFeHByZXNzaW9uIGV4dGVuZHMgbm9kZSgnSW50ZXJwb2xhdGUnKS5maWVsZHM8e1xuICBwYXJ0czogUHJlc2VudEFycmF5PEV4cHJlc3Npb25Ob2RlPjtcbn0+KCkge31cblxuZXhwb3J0IHR5cGUgRXhwcmVzc2lvbk5vZGUgPVxuICB8IExpdGVyYWxFeHByZXNzaW9uXG4gIHwgUGF0aEV4cHJlc3Npb25cbiAgfCBDYWxsRXhwcmVzc2lvblxuICB8IERlcHJlY2F0ZWRDYWxsRXhwcmVzc2lvblxuICB8IEludGVycG9sYXRlRXhwcmVzc2lvbjtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -64,2 +64,10 @@ import { SourceSlice } from '../../source/slice'; | ||
deprecatedCall(call) { | ||
return { | ||
type: 'DeprecatedCall', | ||
loc: call.loc.serialize(), | ||
callee: REF.free(call.callee) | ||
}; | ||
} | ||
interpolate(interpolate) { | ||
@@ -243,2 +251,5 @@ return { | ||
case 'DeprecatedCall': | ||
return EXPR.deprecatedCall(expr); | ||
case 'Interpolate': | ||
@@ -302,2 +313,2 @@ return EXPR.interpolate(expr); | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3N5bnRheC9saWIvdjItYS9zZXJpYWxpemUvc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLFNBQVMsV0FBVCxRQUE0QixvQkFBNUI7QUFpQ0EsT0FBTSxNQUFPLGFBQVAsQ0FBb0I7QUFDeEIsRUFBQSxHQUFHLENBQUMsR0FBRCxFQUF3QjtBQUN6QixXQUFPO0FBQ0wsTUFBQSxJQUFJLEVBQUUsS0FERDtBQUVMLE1BQUEsR0FBRyxFQUFFLEdBQUcsQ0FBQyxHQUFKLENBQVEsU0FBUixFQUZBO0FBR0wsTUFBQSxJQUFJLEVBQUUsR0FBRyxDQUFDLElBQUosQ0FBUyxTQUFUO0FBSEQsS0FBUDtBQUtEOztBQUVELEVBQUEsSUFBSSxDQUFDLEdBQUQsRUFBNEI7QUFDOUIsV0FBTztBQUNMLE1BQUEsSUFBSSxFQUFFLE1BREQ7QUFFTCxNQUFBLEdBQUcsRUFBRSxHQUFHLENBQUMsR0FBSixDQUFRLFNBQVIsRUFGQTtBQUdMLE1BQUEsVUFBVSxFQUFFLEdBQUcsQ0FBQyxVQUFKLENBQWUsU0FBZixFQUhQO0FBSUwsTUFBQSxJQUFJLEVBQUUsR0FBRyxDQUFDO0FBSkwsS0FBUDtBQU1EOztBQUVELEVBQUEsS0FBSyxDQUFDLEdBQUQsRUFBNkI7QUFDaEMsV0FBTztBQUNMLE1BQUEsSUFBSSxFQUFFLE9BREQ7QUFFTCxNQUFBLEdBQUcsRUFBRSxHQUFHLENBQUMsR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lKTogU2VyaWFsaXplZFZhcmlhYmxlUmVmZXJlbmNlIHtcbiAgICBzd2l0Y2ggKHJlZi50eXBlKSB7XG4gICAgICBjYXNlICdBcmcnOlxuICAgICAgICByZXR1cm4gUkVGLmFyZyhyZWYpO1xuICAgICAgY2FzZSAnRnJlZSc6XG4gICAgICAgIHJldHVybiBSRUYuZnJlZShyZWYpO1xuICAgICAgY2FzZSAnTG9jYWwnOlxuICAgICAgICByZXR1cm4gUkVGLmxvY2FsKHJlZik7XG4gICAgICBjYXNlICdUaGlzJzpcbiAgICAgICAgcmV0dXJuIFJFRi5zZWxmKHJlZik7XG4gICAgfVxuICB9LFxuXG4gIGNvbnRlbnQobm9kZTogQVNUdjIuQ29udGVudE5vZGUpOiBTZXJpYWxpemVkQ29udGVudE5vZGUge1xuICAgIHN3aXRjaCAobm9kZS50eXBlKSB7XG4gICAgICBjYXNlICdBcHBlbmRDb250ZW50JzpcbiAgICAgICAgcmV0dXJuIENPTlRFTlQuYXBwZW5kKG5vZGUpO1xuICAgICAgY2FzZSAnR2xpbW1lckNvbW1lbnQnOlxuICAgICAgICByZXR1cm4gQ09OVEVOVC5nbGltbWVyQ29tbWVudChub2RlKTtcbiAgICAgIGNhc2UgJ0h0bWxDb21tZW50JzpcbiAgICAgICAgcmV0dXJuIENPTlRFTlQuaHRtbENvbW1lbnQobm9kZSk7XG4gICAgICBjYXNlICdIdG1sVGV4dCc6XG4gICAgICAgIHJldHVybiBDT05URU5ULmh0bWxUZXh0KG5vZGUpO1xuICAgICAgY2FzZSAnSW52b2tlQmxvY2snOlxuICAgICAgICByZXR1cm4gQ09OVEVOVC5pbnZva2VCbG9jayhub2RlKTtcbiAgICAgIGNhc2UgJ0ludm9rZUNvbXBvbmVudCc6XG4gICAgICAgIHJldHVybiBDT05URU5ULmludm9rZUNvbXBvbmVudChub2RlKTtcbiAgICAgIGNhc2UgJ1NpbXBsZUVsZW1lbnQnOlxuICAgICAgICByZXR1cm4gQ09OVEVOVC5zaW1wb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KTtcbiAgICB9XG4gIH0sXG5cbiAgY29udGVudChub2RlOiBBU1R2Mi5Db250ZW50Tm9kZSk6IFNlcmlhbGl6ZWRDb250ZW50Tm9kZSB7XG4gICAgc3dpdGNoIChub2RlLnR5cGUpIHtcbiAgICAgIGNhc2UgJ0FwcGVuZENvbnRlbnQnOlxuICAgICAgICByZXR1cm4gQ09OVEVOVC5hcHBlbmQobm9kZSk7XG4gICAgICBjYXNlICdHbGltbWVyQ29tbWVudCc6XG4gICAgICAgIHJldHVybiBDT05URU5ULmdsaW1tZXJDb21tZW50KG5vZGUpO1xuICAgICAgY2FzZSAnSHRtbENvbW1lbnQnOlxuICAgICAgICByZXR1cm4gQ09OVEVOVC5odG1sQ29tbWVudChub2RlKTtcbiAgICAgIGNhc2UgJ0h0bWxUZXh0JzpcbiAgICAgICAgcmV0dXJuIENPTlRFTlQuaHRtbFRleHQobm9kZSk7XG4gICAgICBjYXNlICdJbnZva2VCbG9jayc6XG4gICAgICAgIHJldHVybiBDT05URU5ULmludm9rZUJsb2NrKG5vZGUpO1xuICAgICAgY2FzZSAnSW52b2tlQ29tcG9uZW50JzpcbiAgICAgICAgcmV0dXJuIENPTlRFTlQuaW52b2tlQ29tcG9uZW50KG5vZGUpO1xuICAgICAgY2FzZSAnU2ltcGxlRWxlbWVudCc6XG4gICAgICAgIHJldHVybiBDT05URU5ULnNpbXBsZUVsZW1lbnQobm9kZSk7XG4gICAgfVxuICB9LFxufTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -39,5 +39,6 @@ import type { PresentArray } from '@glimmer/interfaces'; | ||
loc: SourceSpan; | ||
}): ASTv2.VariableReference; | ||
}): ASTv2.FreeVarReference; | ||
localVar(name: string, symbol: number, isTemplateLocal: boolean, loc: SourceSpan): ASTv2.VariableReference; | ||
sexp(parts: CallParts, loc: SourceSpan): ASTv2.CallExpression; | ||
deprecatedCall(arg: SourceSlice, callee: ASTv2.FreeVarReference, loc: SourceSpan): ASTv2.DeprecatedCallExpression; | ||
interpolate(parts: ASTv2.ExpressionNode[], loc: SourceSpan): ASTv2.InterpolateExpression; | ||
@@ -44,0 +45,0 @@ literal(value: string, loc: SourceSpan): ASTv2.LiteralExpression & { |
import { PresentArray } from '@glimmer/interfaces'; | ||
import { SourceSlice } from '../../source/slice'; | ||
import type { CallFields } from './base'; | ||
import type { VariableReference } from './refs'; | ||
import type { FreeVarReference, VariableReference } from './refs'; | ||
/** | ||
@@ -67,2 +67,21 @@ * A Handlebars literal. | ||
} | ||
declare const DeprecatedCallExpression_base: import("./node").TypedNodeConstructor<"DeprecatedCall", { | ||
arg: SourceSlice; | ||
callee: FreeVarReference; | ||
} & import("./node").BaseNodeFields>; | ||
/** | ||
* Corresponds to a possible deprecated helper call. Must be: | ||
* | ||
* 1. A free variable (not this.foo, not @foo, not local). | ||
* 2. Argument-less. | ||
* 3. In a component invocation's named argument position. | ||
* 4. Not parenthesized (not @bar={{(helper)}}). | ||
* 5. Not interpolated (not @bar="{{helper}}"). | ||
* | ||
* ```hbs | ||
* <Foo @bar={{helper}} /> | ||
* ``` | ||
*/ | ||
export declare class DeprecatedCallExpression extends DeprecatedCallExpression_base { | ||
} | ||
declare const InterpolateExpression_base: import("./node").TypedNodeConstructor<"Interpolate", { | ||
@@ -80,4 +99,4 @@ parts: PresentArray<ExpressionNode>; | ||
} | ||
export declare type ExpressionNode = LiteralExpression | PathExpression | CallExpression | InterpolateExpression; | ||
export declare type ExpressionNode = LiteralExpression | PathExpression | CallExpression | DeprecatedCallExpression | InterpolateExpression; | ||
export {}; | ||
//# sourceMappingURL=expr.d.ts.map |
import * as ASTv2 from '../api'; | ||
import type { SerializedAppendContent, SerializedArgReference, SerializedCallExpression, SerializedFreeVarReference, SerializedGlimmerComment, SerializedHtmlComment, SerializedHtmlText, SerializedInterpolateExpression, SerializedInvokeBlock, SerializedInvokeComponent, SerializedLiteralExpression, SerializedLocalVarReference, SerializedPathExpression, SerializedSimpleElement, SerializedThisReference } from './types'; | ||
import type { SerializedAppendContent, SerializedArgReference, SerializedCallExpression, SerializedDeprecatedCallExpression, SerializedFreeVarReference, SerializedGlimmerComment, SerializedHtmlComment, SerializedHtmlText, SerializedInterpolateExpression, SerializedInvokeBlock, SerializedInvokeComponent, SerializedLiteralExpression, SerializedLocalVarReference, SerializedPathExpression, SerializedSimpleElement, SerializedThisReference } from './types'; | ||
export declare class RefSerializer { | ||
@@ -13,2 +13,3 @@ arg(ref: ASTv2.ArgReference): SerializedArgReference; | ||
call(call: ASTv2.CallExpression): SerializedCallExpression; | ||
deprecatedCall(call: ASTv2.DeprecatedCallExpression): SerializedDeprecatedCallExpression; | ||
interpolate(interpolate: ASTv2.InterpolateExpression): SerializedInterpolateExpression; | ||
@@ -15,0 +16,0 @@ } |
@@ -45,3 +45,7 @@ import type { PresentArray } from '@glimmer/interfaces'; | ||
} | ||
export declare type SerializedExpressionNode = SerializedLiteralExpression | SerializedPathExpression | SerializedCallExpression | SerializedInterpolateExpression; | ||
export interface SerializedDeprecatedCallExpression extends SerializedBaseNode { | ||
type: 'DeprecatedCall'; | ||
callee: SerializedFreeVarReference; | ||
} | ||
export declare type SerializedExpressionNode = SerializedLiteralExpression | SerializedPathExpression | SerializedCallExpression | SerializedDeprecatedCallExpression | SerializedInterpolateExpression; | ||
export interface SerializedArgs extends SerializedBaseNode { | ||
@@ -48,0 +52,0 @@ positional: SerializedPositional; |
{ | ||
"name": "@glimmer/syntax", | ||
"version": "0.77.6", | ||
"version": "0.78.0", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/syntax", | ||
"dependencies": { | ||
"@glimmer/interfaces": "0.77.6", | ||
"@glimmer/util": "0.77.6", | ||
"@glimmer/interfaces": "0.78.0", | ||
"@glimmer/util": "0.78.0", | ||
"@handlebars/parser": "~2.0.0", | ||
@@ -12,3 +12,3 @@ "simple-html-tokenizer": "^0.5.10" | ||
"devDependencies": { | ||
"@glimmer/local-debug-flags": "0.77.6", | ||
"@glimmer/local-debug-flags": "0.78.0", | ||
"@types/qunit": "^2.9.0" | ||
@@ -15,0 +15,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2691440
270
25796
+ Added@glimmer/interfaces@0.78.0(transitive)
+ Added@glimmer/util@0.78.0(transitive)
- Removed@glimmer/interfaces@0.77.6(transitive)
- Removed@glimmer/util@0.77.6(transitive)
Updated@glimmer/interfaces@0.78.0
Updated@glimmer/util@0.78.0