49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
---
|
|
source: src/ast/mod.rs
|
|
expression: ast
|
|
---
|
|
TemplateAst {
|
|
root: [
|
|
Interpolation {
|
|
prev_whitespace_content: None,
|
|
expression: FunctionCall {
|
|
name: [Ident]"foo" (4..7),
|
|
args: [
|
|
Operation {
|
|
op: Times,
|
|
lhs: Literal {
|
|
source: [Literal(Integer(2))]"2" (8..9),
|
|
value: Integer {
|
|
value: 2,
|
|
},
|
|
},
|
|
rhs: Literal {
|
|
source: [Literal(Integer(3))]"3" (12..13),
|
|
value: Integer {
|
|
value: 3,
|
|
},
|
|
},
|
|
},
|
|
FunctionCall {
|
|
name: [Ident]"bar" (15..18),
|
|
args: [
|
|
Operation {
|
|
op: Plus,
|
|
lhs: Literal {
|
|
source: [Literal(Integer(2))]"2" (19..20),
|
|
value: Integer {
|
|
value: 2,
|
|
},
|
|
},
|
|
rhs: VariableAccess(
|
|
[Ident]"baz" (23..26),
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
post_whitespace_content: None,
|
|
},
|
|
],
|
|
}
|