mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-02-05 06:59:04 +08:00
Add GDScript 2.0 programming language (#4215) JustTemmie
* Initial GDScript 2.0 commit * change 2.0 to 2 * whoops
This commit is contained in:
parent
45f1d90428
commit
855f93b760
3 changed files with 110 additions and 0 deletions
|
|
@ -485,6 +485,7 @@
|
|||
"code_elixir",
|
||||
"code_zig",
|
||||
"code_gdscript",
|
||||
"code_gdscript_2",
|
||||
"code_assembly"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -273,5 +273,6 @@
|
|||
,"code_elixir"
|
||||
,"code_zig"
|
||||
,"code_gdscript"
|
||||
,"code_gdscript_2"
|
||||
,"code_assembly"
|
||||
]
|
||||
|
|
|
|||
108
frontend/static/languages/code_gdscript_2.json
Normal file
108
frontend/static/languages/code_gdscript_2.json
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"name": "code_gdscript_2",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"var",
|
||||
"const",
|
||||
"if",
|
||||
"elif",
|
||||
"else",
|
||||
"for",
|
||||
"while",
|
||||
"match",
|
||||
"break",
|
||||
"continue",
|
||||
"pass",
|
||||
"return",
|
||||
"class",
|
||||
"class_name",
|
||||
"extends",
|
||||
"is",
|
||||
"as",
|
||||
"self",
|
||||
"tool",
|
||||
"signal",
|
||||
"func",
|
||||
"static",
|
||||
"enum",
|
||||
"onready",
|
||||
"export",
|
||||
"breakpoint",
|
||||
"remote",
|
||||
"master",
|
||||
"puppet",
|
||||
"remotesync",
|
||||
"mastersync",
|
||||
"puppetsync",
|
||||
"PI",
|
||||
"TAU",
|
||||
"INF",
|
||||
"NAN",
|
||||
"in",
|
||||
"not",
|
||||
"and",
|
||||
"or",
|
||||
"$",
|
||||
"%",
|
||||
"->",
|
||||
":",
|
||||
"print()",
|
||||
"_ready()",
|
||||
"_process()",
|
||||
"_input()",
|
||||
"_physics_process()",
|
||||
"_enter_tree()",
|
||||
"_exit_tree()",
|
||||
"_init()",
|
||||
"free()",
|
||||
"queue_free()",
|
||||
"call_deferred()",
|
||||
"connect()",
|
||||
"emit_signal()",
|
||||
"get_node()",
|
||||
"get_parent()",
|
||||
"range()",
|
||||
"get_tree()",
|
||||
"get_viewport()",
|
||||
"get_child()",
|
||||
"get_children()",
|
||||
"is_in_group()",
|
||||
"preload()",
|
||||
"load()",
|
||||
"await()",
|
||||
"resume()",
|
||||
"assert()",
|
||||
"str()",
|
||||
"has()",
|
||||
"append()",
|
||||
"get_path()",
|
||||
"OS",
|
||||
"Input",
|
||||
"Vector2",
|
||||
"Vector3",
|
||||
"bool",
|
||||
"int",
|
||||
"String",
|
||||
"void",
|
||||
"float",
|
||||
"Dictionary",
|
||||
"Array",
|
||||
"NodePath",
|
||||
"Color",
|
||||
"Object",
|
||||
"Transform",
|
||||
"Node",
|
||||
"Node2D",
|
||||
"Node3D",
|
||||
"Control",
|
||||
"CharacterBody2D",
|
||||
"CharacterBody3D",
|
||||
"Sprite2D",
|
||||
"Sprite3D",
|
||||
"MeshInstance",
|
||||
"Camera2D",
|
||||
"Camera3D",
|
||||
"res://",
|
||||
"user://"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue