☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
parser
/
features
/
dictionary_lua_style.gd
☽
☼
modules/gdscript/tests/scripts/parser/features/dictionary_lua_style.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
func test():
2
var lua_dict = {
3
a = 1,
4
"b" = 2, # Using strings are allowed too.
5
"with spaces" = 3, # Especially useful when key has spaces...
6
"2" = 4, # ... or invalid identifiers.
7
}
8
9
print(lua_dict)