52 lines
546 B
GDScript
52 lines
546 B
GDScript
|
# Enumerate all styles: 0 to 15
|
||
|
# comment=1
|
||
|
|
||
|
# whitespace=0
|
||
|
# w
|
||
|
|
||
|
# number=2
|
||
|
37
|
||
|
|
||
|
# double-quoted-string=3
|
||
|
"str"
|
||
|
|
||
|
# single-quoted-string=4
|
||
|
'str'
|
||
|
|
||
|
# keyword=5
|
||
|
pass
|
||
|
|
||
|
# triple-quoted-string=6
|
||
|
'''str'''
|
||
|
|
||
|
# triple-double-quoted-string=7
|
||
|
"""str"""
|
||
|
|
||
|
# class-name=8
|
||
|
class ClassName:
|
||
|
pass
|
||
|
|
||
|
# function-name=9
|
||
|
func function_name():
|
||
|
pass
|
||
|
|
||
|
# operator=10
|
||
|
1 + 3
|
||
|
|
||
|
# identifier=11
|
||
|
var identifier = 2
|
||
|
|
||
|
# comment-block=12
|
||
|
## block
|
||
|
|
||
|
# unclosed-string=13
|
||
|
" unclosed
|
||
|
|
||
|
# highlighted-identifier=14
|
||
|
var hilight = 2
|
||
|
|
||
|
# annotation=15
|
||
|
@onready
|
||
|
var a = 3
|
||
|
@onready var b = 3
|