From 9918529641a27db748272d268199094fd1e68bcc Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Wed, 27 Jul 2022 17:41:52 -0700 Subject: [PATCH] Documentation for strings --- Ast/include/Luau/Ast.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ast/include/Luau/Ast.h b/Ast/include/Luau/Ast.h index 08fc3338..b134ed31 100644 --- a/Ast/include/Luau/Ast.h +++ b/Ast/include/Luau/Ast.h @@ -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> strings; AstArray expressions; };