File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ .. _gdscript :
2+
3+ ======================================================================
4+ The new GDScript parser
5+ ======================================================================
6+
7+ The GDScript parser is written using the token based Python parser as a base
8+ due to similarities with the Python language. Some adjustments have been made
9+ for the differences between GDScript and Python. A short list of major
10+ differences:
11+
12+ - Files are classes. All symbols are attributes of the class defined by the
13+ file.
14+ - There are no functions because all symbols are class attributes, so all
15+ "functions" are methods.
16+ - Variables are explicitly declared with the `var ` keyword.
17+ - Enum, signal and const keywords are added.
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ This section deals with individual parser topics.
1515 parser-asm.rst
1616 parser-cmake.rst
1717 parser-cxx.rst
18+ parser-gdscript.rst
1819 parser-html.rst
1920 parser-puppetManifest.rst
2021 parser-python.rst
You can’t perform that action at this time.
0 commit comments