Parse conditional access
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
beac224f5b
commit
9b87e7089f
3 changed files with 41 additions and 1 deletions
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
source: src/parser/mod.rs
|
||||
expression: ast
|
||||
---
|
||||
TemplateAst {
|
||||
root: [
|
||||
Interpolation {
|
||||
prev_whitespace_content: None,
|
||||
expression: ConditionalAccess(
|
||||
[Ident]"foo" (4..7),
|
||||
),
|
||||
post_whitespace_content: None,
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue