summaryrefslogtreecommitdiffstats
path: root/tests/snippets/gdscript/test_inner_class.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/gdscript/test_inner_class.txt')
-rw-r--r--tests/snippets/gdscript/test_inner_class.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/snippets/gdscript/test_inner_class.txt b/tests/snippets/gdscript/test_inner_class.txt
new file mode 100644
index 0000000..734242b
--- /dev/null
+++ b/tests/snippets/gdscript/test_inner_class.txt
@@ -0,0 +1,20 @@
+---input---
+class InnerClass:
+ var a = 5
+
+---tokens---
+'class' Keyword
+' ' Text.Whitespace
+'InnerClass' Name
+':' Punctuation
+'\n' Text.Whitespace
+
+'\t' Text.Whitespace
+'var' Keyword
+' ' Text.Whitespace
+'a' Name
+' ' Text.Whitespace
+'=' Operator
+' ' Text.Whitespace
+'5' Literal.Number.Integer
+'\n' Text.Whitespace