|
15 | 15 | <!-- ^^^^ variable.other.member.ngx --> |
16 | 16 | <!-- ^ punctuation.terminator.expression.ngx --> |
17 | 17 |
|
| 18 | +@let func = user.func(); |
| 19 | +<!--^^^^^^ meta.let.identifier.ngx --> |
| 20 | +<!-- ^^^^ variable.other.readwrite.ngx --> |
| 21 | +<!-- ^ meta.let.ngx keyword.operator.assignment.ngx --> |
| 22 | +<!-- ^ meta.let.value.ngx - meta.path --> |
| 23 | +<!-- ^^^^^^^^^^^ meta.let.value.ngx meta.path.ngx - meta.path meta.path --> |
| 24 | +<!-- ^^^^ variable.other.object.ngx --> |
| 25 | +<!-- ^ punctuation.accessor.ngx --> |
| 26 | +<!-- ^^^^ variable.function.method.ngx --> |
| 27 | +<!-- ^ punctuation.section.arguments.begin.ngx --> |
| 28 | +<!-- ^ punctuation.section.arguments.end.ngx --> |
| 29 | +<!-- ^ punctuation.terminator.expression.ngx --> |
| 30 | + |
18 | 31 | @let greeting = 'Hello, ' + name; |
19 | 32 | <!--^^^^^^^^^^ meta.let.identifier.ngx --> |
20 | 33 | <!-- ^^^^^^^^ variable.other.readwrite.ngx --> |
|
39 | 52 | <!-- ^^^^^ meta.function-call.identifier.ngx variable.function.filter.ngx --> |
40 | 53 | <!-- ^ punctuation.terminator.expression.ngx --> |
41 | 54 |
|
| 55 | +@let item = var[10]['bar']; |
| 56 | +<!--^^^^^^ meta.let.identifier.ngx --> |
| 57 | +<!-- ^ meta.let.ngx --> |
| 58 | +<!-- ^^^^^^^^^^^^^^^ meta.let.value.ngx --> |
| 59 | +<!-- ^ - meta.let --> |
| 60 | +<!-- ^^^^ variable.other.readwrite.ngx --> |
| 61 | +<!-- ^ keyword.operator.assignment.ngx --> |
| 62 | +<!-- ^^^ variable.other.readwrite.ngx --> |
| 63 | +<!-- ^^^^^^^^^^^ meta.subscription.ngx --> |
| 64 | +<!-- ^ punctuation.section.subscription.begin.ngx --> |
| 65 | +<!-- ^^ meta.number.integer.decimal.ngx constant.numeric.value.ngx --> |
| 66 | +<!-- ^ punctuation.section.subscription.end.ngx --> |
| 67 | +<!-- ^ punctuation.section.subscription.begin.ngx --> |
| 68 | +<!-- ^^^^^ meta.string.ngx string.quoted.single.ngx --> |
| 69 | +<!-- ^ punctuation.section.subscription.end.ngx --> |
| 70 | +<!-- ^ punctuation.terminator.expression.ngx --> |
| 71 | + |
| 72 | +<!-- qualified property with missing leading object in incomplete ternary expression --> |
| 73 | +@let path = .foo?.bar? ; |
| 74 | +<!--^^^^^^ meta.let.identifier.ngx --> |
| 75 | +<!-- ^ meta.let.ngx --> |
| 76 | +<!-- ^ meta.let.value.ngx - meta.path --> |
| 77 | +<!-- ^^^^^^^^^ meta.let.value.ngx meta.path.ngx - meta.path meta.path --> |
| 78 | +<!-- ^^ meta.let.value.ngx - meta.path --> |
| 79 | +<!-- ^ - meta.let --> |
| 80 | +<!-- ^^^^ variable.other.readwrite.ngx --> |
| 81 | +<!-- ^ keyword.operator.assignment.ngx --> |
| 82 | +<!-- ^ punctuation.accessor.ngx --> |
| 83 | +<!-- ^^^ variable.other.object.ngx --> |
| 84 | +<!-- ^^ punctuation.accessor.ngx --> |
| 85 | +<!-- ^^^ variable.other.member.ngx --> |
| 86 | +<!-- ^ keyword.operator.ternary.ngx --> |
| 87 | +<!-- ^ punctuation.terminator.expression.ngx --> |
| 88 | + |
| 89 | +@let path = .orders.value()?.[0]?.$extra?.#currency.unit; |
| 90 | +<!--^^^^^^ meta.let.identifier.ngx --> |
| 91 | +<!-- ^ meta.let.ngx --> |
| 92 | +<!-- ^ meta.let.value.ngx - meta.path --> |
| 93 | +<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.let.value.ngx meta.path.ngx - meta.path meta.path --> |
| 94 | +<!-- ^^^^ variable.other.readwrite.ngx --> |
| 95 | +<!-- ^ keyword.operator.assignment.ngx --> |
| 96 | +<!-- ^ punctuation.accessor.ngx --> |
| 97 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 98 | +<!-- ^ punctuation.accessor.ngx --> |
| 99 | +<!-- ^^^^^ meta.function-call.identifier.ngx variable.function.method.ngx --> |
| 100 | +<!-- ^^ meta.function-call.arguments.ngx --> |
| 101 | +<!-- ^ punctuation.section.arguments.begin.ngx --> |
| 102 | +<!-- ^ punctuation.section.arguments.end.ngx --> |
| 103 | +<!-- ^^ punctuation.accessor.ngx --> |
| 104 | +<!-- ^^^ meta.subscription.ngx --> |
| 105 | +<!-- ^ punctuation.section.subscription.begin.ngx --> |
| 106 | +<!-- ^ meta.number.integer.decimal.ngx constant.numeric.value.ngx --> |
| 107 | +<!-- ^ punctuation.section.subscription.end.ngx --> |
| 108 | +<!-- ^^ punctuation.accessor.ngx --> |
| 109 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 110 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 111 | +<!-- ^^ punctuation.accessor.ngx --> |
| 112 | +<!-- ^^^^^^^^^ variable.other.object.ngx --> |
| 113 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 114 | +<!-- ^ punctuation.accessor.ngx --> |
| 115 | +<!-- ^^^^ variable.other.member.ngx --> |
| 116 | +<!-- ^ punctuation.terminator.expression.ngx --> |
| 117 | + |
| 118 | +@let path = orders.value()?.[0]?.$extra?.#currency.unit; |
| 119 | +<!--^^^^^^ meta.let.identifier.ngx --> |
| 120 | +<!-- ^ meta.let.ngx --> |
| 121 | +<!-- ^ meta.let.value.ngx - meta.path --> |
| 122 | +<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.let.value.ngx meta.path.ngx - meta.path meta.path --> |
| 123 | +<!-- ^^^^ variable.other.readwrite.ngx --> |
| 124 | +<!-- ^ keyword.operator.assignment.ngx --> |
| 125 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 126 | +<!-- ^ punctuation.accessor.ngx --> |
| 127 | +<!-- ^^^^^ meta.function-call.identifier.ngx variable.function.method.ngx --> |
| 128 | +<!-- ^^ meta.function-call.arguments.ngx --> |
| 129 | +<!-- ^ punctuation.section.arguments.begin.ngx --> |
| 130 | +<!-- ^ punctuation.section.arguments.end.ngx --> |
| 131 | +<!-- ^^ punctuation.accessor.ngx --> |
| 132 | +<!-- ^^^ meta.subscription.ngx --> |
| 133 | +<!-- ^ punctuation.section.subscription.begin.ngx --> |
| 134 | +<!-- ^ meta.number.integer.decimal.ngx constant.numeric.value.ngx --> |
| 135 | +<!-- ^ punctuation.section.subscription.end.ngx --> |
| 136 | +<!-- ^^ punctuation.accessor.ngx --> |
| 137 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 138 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 139 | +<!-- ^^ punctuation.accessor.ngx --> |
| 140 | +<!-- ^^^^^^^^^ variable.other.object.ngx --> |
| 141 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 142 | +<!-- ^ punctuation.accessor.ngx --> |
| 143 | +<!-- ^^^^ variable.other.member.ngx --> |
| 144 | +<!-- ^ punctuation.terminator.expression.ngx --> |
| 145 | + |
42 | 146 | <!-- |
43 | 147 | Control Flow |
44 | 148 | https://angular.dev/guide/templates/control-flow#conditionally-display-content-with-if-else-if-and-else |
|
92 | 196 | <!-- ^^ punctuation.section.embedded.begin.ngx.html --> |
93 | 197 | <!-- ^^^^^^^ source.ngx.embedded.html --> |
94 | 198 | <!-- ^ variable.other.object.ngx --> |
95 | | -<!-- ^ meta.function-call.identifier.ngx variable.function.ngx --> |
| 199 | +<!-- ^ meta.function-call.identifier.ngx variable.function.method.ngx --> |
96 | 200 | <!-- ^ meta.function-call.arguments.ngx punctuation.section.arguments.begin.ngx --> |
97 | 201 | <!-- ^ meta.function-call.arguments.ngx punctuation.section.arguments.end.ngx --> |
98 | 202 | <!-- ^^ punctuation.section.embedded.end.ngx.html --> |
|
528 | 632 | <!-- property subscription --> |
529 | 633 | {{ person['name'][0] = "Mirabel" }} |
530 | 634 | <!--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.embedded.ngx.html --> |
531 | | -<!--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.ngx.embedded.html --> |
| 635 | +<!--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.ngx.embedded.html - meta.path --> |
532 | 636 | <!-- ^^^^^^ variable.other.readwrite.ngx --> |
533 | 637 | <!-- ^^^^^^^^^^^ meta.subscription.ngx --> |
534 | 638 | <!-- ^ punctuation.section.subscription.begin.ngx --> |
|
546 | 650 | <!-- ^^ punctuation.section.embedded.end.ngx.html --> |
547 | 651 |
|
548 | 652 | {{ obj?.member }} |
549 | | -<!--^^^^^^^^^^^^^^^ meta.embedded.ngx.html --> |
550 | | -<!--^^^^^^^^^^^^^ source.ngx.embedded.html --> |
| 653 | +<!--^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 654 | +<!-- ^^^^^^^^^^^ meta.embedded.ngx.html source.ngx.embedded.html meta.path.ngx - meta.path meta.path --> |
| 655 | +<!-- ^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 656 | +<!-- ^^ meta.embedded.ngx.html - source.ngx --> |
551 | 657 | <!-- ^^^ variable.other.object.ngx --> |
552 | 658 | <!-- ^^ punctuation.accessor.ngx --> |
553 | 659 | <!-- ^^^^^^ variable.other.member.ngx --> |
554 | 660 | <!-- ^^ punctuation.section.embedded.end.ngx.html --> |
555 | 661 |
|
| 662 | + {{ obj.member [5] }} |
| 663 | +<!--^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 664 | +<!-- ^^^^^^^^^^^^^^ meta.embedded.ngx.html source.ngx.embedded.html meta.path.ngx - meta.path meta.path --> |
| 665 | +<!-- ^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 666 | +<!-- ^^ meta.embedded.ngx.html - source.ngx --> |
| 667 | +<!-- ^^^ variable.other.object.ngx --> |
| 668 | +<!-- ^ punctuation.accessor.ngx --> |
| 669 | +<!-- ^^^^^^ variable.other.member.ngx --> |
| 670 | +<!-- ^ - meta.subscription - variable --> |
| 671 | +<!-- ^^^ meta.subscription.ngx --> |
| 672 | +<!-- ^^ punctuation.section.embedded.end.ngx.html --> |
| 673 | + |
556 | 674 | {{ obj.method() }} |
557 | | -<!--^^^^^^^^^^^^^^^^ meta.embedded.ngx.html --> |
558 | | -<!--^^^^^^^^^^^^^^ source.ngx.embedded.html --> |
| 675 | +<!--^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 676 | +<!-- ^^^^^^^^^^^^ meta.embedded.ngx.html source.ngx.embedded.html meta.path.ngx - meta.path meta.path --> |
| 677 | +<!-- ^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 678 | +<!-- ^^ meta.embedded.ngx.html - source.ngx --> |
559 | 679 | <!-- ^^^ variable.other.object.ngx --> |
560 | 680 | <!-- ^ punctuation.accessor.ngx --> |
561 | | -<!-- ^^^^^^ meta.function-call.identifier.ngx variable.function.ngx --> |
| 681 | +<!-- ^^^^^^ meta.function-call.identifier.ngx variable.function.method.ngx --> |
562 | 682 | <!-- ^^ meta.function-call.arguments.ngx --> |
563 | 683 | <!-- ^ punctuation.section.arguments.begin.ngx --> |
564 | 684 | <!-- ^ punctuation.section.arguments.end.ngx --> |
565 | 685 | <!-- ^^ punctuation.section.embedded.end.ngx.html --> |
566 | 686 |
|
| 687 | + {{ orders.value()?.[0]?.$extra?.#currency }} |
| 688 | +<!--^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 689 | +<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.embedded.ngx.html source.ngx.embedded.html meta.path.ngx - meta.path meta.path --> |
| 690 | +<!-- ^ meta.embedded.ngx.html source.ngx.embedded.html - meta.path --> |
| 691 | +<!-- ^^ meta.embedded.ngx.html - source.ngx --> |
| 692 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 693 | +<!-- ^ punctuation.accessor.ngx --> |
| 694 | +<!-- ^^^^^ meta.function-call.identifier.ngx variable.function.method.ngx --> |
| 695 | +<!-- ^^ meta.function-call.arguments.ngx --> |
| 696 | +<!-- ^ punctuation.section.arguments.begin.ngx --> |
| 697 | +<!-- ^ punctuation.section.arguments.end.ngx --> |
| 698 | +<!-- ^^ punctuation.accessor.ngx --> |
| 699 | +<!-- ^^^ meta.subscription.ngx --> |
| 700 | +<!-- ^ punctuation.section.subscription.begin.ngx --> |
| 701 | +<!-- ^ meta.number.integer.decimal.ngx constant.numeric.value.ngx --> |
| 702 | +<!-- ^ punctuation.section.subscription.end.ngx --> |
| 703 | +<!-- ^^ punctuation.accessor.ngx --> |
| 704 | +<!-- ^^^^^^ variable.other.object.ngx --> |
| 705 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 706 | +<!-- ^^ punctuation.accessor.ngx --> |
| 707 | +<!-- ^^^^^^^^^ variable.other.member.ngx --> |
| 708 | +<!-- ^ punctuation.definition.variable.ngx --> |
| 709 | +<!-- ^^ punctuation.section.embedded.end.ngx.html --> |
| 710 | + |
567 | 711 | {{ func(arg, "value") }} |
568 | 712 | <!--^^^^^^^^^^^^^^^^^^^^^^ meta.embedded.ngx.html --> |
569 | 713 | <!--^^^^^^^^^^^^^^^^^^^^ source.ngx.embedded.html --> |
|
0 commit comments