Skip to content

Commit c7c19ac

Browse files
authored
Merge pull request #3199 from masatake/masatake-gdscript
GDScript based on #3194
2 parents 1d9e6fe + ebbfee1 commit c7c19ac

File tree

38 files changed

+1946
-0
lines changed

38 files changed

+1946
-0
lines changed

Tmain/extras-long.d/stdout-expected.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ p pseudo no NONE no Include pseudo tags
77
q qualified no NONE no Include an extra class-qualified tag entry for each tag
88
r reference no NONE no Include reference tags
99
s subparser yes NONE no Include tags generated by subparsers
10+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
1011
- doubleSharps no IPythonCell no Include cells starting from ##
1112
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
1213
- funcmap yes QemuHX no Include mapping SQMP to C function name
@@ -20,6 +21,7 @@ p pseudo yes NONE no Include pseudo tags
2021
q qualified no NONE no Include an extra class-qualified tag entry for each tag
2122
r reference no NONE no Include reference tags
2223
s subparser yes NONE no Include tags generated by subparsers
24+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
2325
- doubleSharps no IPythonCell no Include cells starting from ##
2426
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
2527
- funcmap yes QemuHX no Include mapping SQMP to C function name
@@ -33,6 +35,7 @@ p pseudo yes NONE no Include pseudo tags
3335
q qualified no NONE no Include an extra class-qualified tag entry for each tag
3436
r reference no NONE no Include reference tags
3537
s subparser yes NONE no Include tags generated by subparsers
38+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
3639
- doubleSharps no IPythonCell no Include cells starting from ##
3740
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
3841
- funcmap yes QemuHX no Include mapping SQMP to C function name
@@ -46,6 +49,7 @@ p pseudo yes NONE no Include pseudo tags
4649
q qualified no NONE no Include an extra class-qualified tag entry for each tag
4750
r reference yes NONE no Include reference tags
4851
s subparser yes NONE no Include tags generated by subparsers
52+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
4953
- doubleSharps no IPythonCell no Include cells starting from ##
5054
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
5155
- funcmap yes QemuHX no Include mapping SQMP to C function name
@@ -59,6 +63,7 @@ p pseudo yes NONE no Include pseudo tags
5963
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
6064
r reference yes NONE no Include reference tags
6165
s subparser yes NONE no Include tags generated by subparsers
66+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
6267
- doubleSharps no IPythonCell no Include cells starting from ##
6368
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
6469
- funcmap yes QemuHX no Include mapping SQMP to C function name

Tmain/list-extras.d/stdout-expected.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ p pseudo yes NONE no Include pseudo tags
77
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
88
r reference yes NONE no Include reference tags
99
s subparser yes NONE no Include tags generated by subparsers
10+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
1011
- doubleSharps no IPythonCell no Include cells starting from ##
1112
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
1213
- funcmap yes QemuHX no Include mapping SQMP to C function name
@@ -20,6 +21,7 @@ p pseudo yes NONE no Include pseudo tags
2021
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
2122
r reference yes NONE no Include reference tags
2223
s subparser yes NONE no Include tags generated by subparsers
24+
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
2325
- doubleSharps no IPythonCell no Include cells starting from ##
2426
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
2527
- funcmap yes QemuHX no Include mapping SQMP to C function name

Tmain/list-fields-with-prefix.d/stdout-expected.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ x UCTAGSxpath no NONE s-- no -- xpath for
1818
- UCTAGSmacrodef no CPreProcessor s-- no -- macro definition
1919
- UCTAGSmacrodef no CUDA s-- no -- macro definition
2020
- UCTAGSproperties no CUDA s-- no -- properties (static, inline, mutable,...)
21+
- UCTAGSannotations yes GDScript s-- no -- annotations on functions and variables
2122
- UCTAGShowImported no Go s-- no -- how the package is imported ("inline" for `.' or "init" for `_')
2223
- UCTAGSpackage yes Go s-- no -- the real package specified by the package name
2324
- UCTAGSpackageName yes Go s-- no -- the name for referring the package

Tmain/list-fields.d/stdout-expected.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ z kind no NONE s-- no r- [tags output] prepend "kind:" to k/ (or K/) field outpu
3636
- macrodef no CPreProcessor s-- no -- macro definition
3737
- macrodef no CUDA s-- no -- macro definition
3838
- properties no CUDA s-- no -- properties (static, inline, mutable,...)
39+
- annotations yes GDScript s-- no -- annotations on functions and variables
3940
- howImported no Go s-- no -- how the package is imported ("inline" for `.' or "init" for `_')
4041
- package yes Go s-- no -- the real package specified by the package name
4142
- packageName yes Go s-- no -- the name for referring the package

Tmain/list-roles.d/stdout-expected.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ DTD p/parameterEntity elementName on element names
4141
DTD p/parameterEntity partOfAttDef on part of attribute definition
4242
Elm m/module imported on imported module
4343
Flex I/import import on imports
44+
GDScript c/class extended on used as a base class for extending
4445
Go p/package imported on imported package
4546
Go u/unknown receiverType on receiver type
4647
HTML C/stylesheet extFile on referenced as external files
@@ -141,6 +142,7 @@ DTD p/parameterEntity elementName on element names
141142
DTD p/parameterEntity partOfAttDef on part of attribute definition
142143
Elm m/module imported on imported module
143144
Flex I/import import on imports
145+
GDScript c/class extended on used as a base class for extending
144146
Go p/package imported on imported package
145147
Go u/unknown receiverType on receiver type
146148
HTML C/stylesheet extFile on referenced as external files
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is a crash test.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@foo
2+
var
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--sort=no
2+
--fields=+irK
3+
--extras=+r
4+
--extras-GDScript=-{implicitClass}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Node input.gd /^class_name MyNode extends Node$/;" class roles:extended
2+
MyNode input.gd /^class_name MyNode extends Node$/;" class inherits:Node roles:def
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
class_name MyNode extends Node

0 commit comments

Comments
 (0)