diff --git a/test/corpus/expr.txt b/test/corpus/expr.txt index ccdd543..23288e2 100644 --- a/test/corpus/expr.txt +++ b/test/corpus/expr.txt @@ -27,6 +27,22 @@ unary expression (unary_operator (integer))) +================================================================================ +Index expression +================================================================================ + +"abc"[1] + +-------------------------------------------------------------------------------- + +(module + (subscript + (string + (string_start) + (string_content) + (string_end)) + (integer))) + ================================================================================ slice expression ================================================================================ diff --git a/test/corpus/literal.txt b/test/corpus/literal.txt index 5c9b9db..1809528 100644 --- a/test/corpus/literal.txt +++ b/test/corpus/literal.txt @@ -38,6 +38,37 @@ r"Hi\nHello" (string_content) (string_end))) +================================================================================ +Documented String +================================================================================ + +schema Person: + """ + Person schema doc string + """ + + name: str = "Alice" + +-------------------------------------------------------------------------------- + +(module + (schema_statement + (identifier) + (block + (string + (string_start) + (string_content) + (string_end)) + (assignment + (dotted_name + (identifier)) + (type + (basic_type)) + (string + (string_start) + (string_content) + (string_end)))))) + ================================================================================ number ================================================================================