mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
A quoted expression is:
quoted expression = prefix `:` uninterpretedExpression
prefix = identifier
uninterpretedExpression = arbitrary string
Example: "route:/some/route"
Quoted expressions are parsed into a new AST node type Quote. The `prefix` part of the
node must be a legal identifier. The `uninterpretedExpression` part of the node is an
arbitrary string that Angular does not interpret.
This feature is meant to be used together with template AST transformers introduced in
|
||
|---|---|---|
| .. | ||
| animate | ||
| common | ||
| compiler | ||
| core | ||
| http | ||
| mock | ||
| platform/browser | ||
| router | ||
| symbol_inspector | ||
| testing | ||
| upgrade | ||
| web_workers | ||
| dev_mode_spec.ts | ||
| public_api_spec.ts | ||