`ExprConcatStrings` tracks whether the expression is an interpolation or not via an obscure boolean called `forceString`. Instead, we rename it to `isInterpolation`. This is a breaking change for the JSON AST representation. Change-Id: I9f89337449b56f6e99a961e21169761f554c9896 Signed-off-by: Raito Bezarius <raito@lix.systems>
42 lines
979 B
Plaintext
42 lines
979 B
Plaintext
_type: ExprCall
|
|
args:
|
|
- _type: ExprConcatStrings
|
|
es:
|
|
- _type: ExprLiteral
|
|
value: 7
|
|
valueType: Int
|
|
- _type: ExprCall
|
|
args:
|
|
- _type: ExprCall
|
|
args:
|
|
- _type: ExprCall
|
|
args:
|
|
- _type: ExprLiteral
|
|
value: 0
|
|
valueType: Int
|
|
- _type: ExprLiteral
|
|
value: 5
|
|
valueType: Int
|
|
fun:
|
|
_type: ExprVar
|
|
value: __sub
|
|
- _type: ExprLiteral
|
|
value: 12
|
|
valueType: Int
|
|
fun:
|
|
_type: ExprVar
|
|
value: __mul
|
|
- _type: ExprLiteral
|
|
value: 3
|
|
valueType: Int
|
|
fun:
|
|
_type: ExprVar
|
|
value: __div
|
|
isInterpolation: false
|
|
- _type: ExprLiteral
|
|
value: 1
|
|
valueType: Int
|
|
fun:
|
|
_type: ExprVar
|
|
value: __sub
|