libexpr: rename forceString to isInterpolation
`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>
This commit is contained in:
@@ -273,7 +273,7 @@ JSON ExprConcatStrings::toJSON(const SymbolTable & symbols) const
|
||||
parts.push_back(part->toJSON(symbols));
|
||||
return {
|
||||
{"_type", "ExprConcatStrings"},
|
||||
{"forceString", forceString},
|
||||
{"isInterpolation", isInterpolation},
|
||||
{"es", parts}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user