angular/vscode-ng-language-service/syntaxes/test/data/let-declaration.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
624 B
HTML
Raw Normal View History

@let basicLet = 123 + 456;
@let noSpaceAfterEquals =true;
@let noSpaceBeforeEquals= true;
@let noSpaceAroundEquals=true;
@let lotOfSpaceAroundEquals = true;
@let #invalid = true;
@let invalidIn#TheMiddle = true;
@letinvalid = true;
@let stringContainingSemicolon = 'hello ;' + 'world';
@let complexExpression = something ? 123 : {prop: 'hello' + true + 'world'};
@let usingPipes = 123 + foo | async | multiply: 2 | separator: ';';
@if (someExpr | async) {
@let inBlock = true;
@for (foo of bar; track foo) {
@let inNestedBlock = 123;
}
}
@let noEquals
@let noValue =