Documentation for strings

This commit is contained in:
Kampfkarren 2022-07-27 17:41:52 -07:00
parent 77166a3654
commit 9918529641

View file

@ -735,6 +735,9 @@ public:
void visit(AstVisitor* visitor) override;
/// An interpolated string such as `foo{bar}baz` is represented as
/// an array of strings for "foo" and "bar", and an array of expressions for "baz".
/// `strings` will always have one more element than `expressions`.
AstArray<AstArray<char>> strings;
AstArray<AstExpr*> expressions;
};