aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-11-16 22:12:22 +0100
committerGitHub2017-11-16 22:12:22 +0100
commitab3cd9713841bc4e7f55851198f2e465c6151b63 (patch)
treed98e2e158ec7839ba6c04116822e7cdc910da93b /modules/gdscript/gdscript_parser.h
parentbb1d1912ea73592670f75a6ec89845766dabb4b0 (diff)
parent4cfc29611e21811065d024a6de1685418e60111e (diff)
downloadgodot-ab3cd9713841bc4e7f55851198f2e465c6151b63.tar.gz
godot-ab3cd9713841bc4e7f55851198f2e465c6151b63.tar.zst
godot-ab3cd9713841bc4e7f55851198f2e465c6151b63.zip
Merge pull request #12969 from akien-mga/refactor-gd-prefix
GDScript: Refactor "GD" class prefix to "GDScript"
Diffstat (limited to '')
-rw-r--r--modules/gdscript/gdscript_parser.h (renamed from modules/gdscript/gd_parser.h)22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/gdscript/gd_parser.h b/modules/gdscript/gdscript_parser.h
index 7e88fd974..3c9c5ea02 100644
--- a/modules/gdscript/gd_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -1,5 +1,5 @@
/*************************************************************************/
-/* gd_parser.h */
+/* gdscript_parser.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -27,16 +27,16 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#ifndef GD_PARSER_H
-#define GD_PARSER_H
+#ifndef GDSCRIPT_PARSER_H
+#define GDSCRIPT_PARSER_H
-#include "gd_functions.h"
-#include "gd_tokenizer.h"
+#include "gdscript_functions.h"
+#include "gdscript_tokenizer.h"
#include "map.h"
#include "object.h"
#include "script_language.h"
-class GDParser {
+class GDScriptParser {
public:
struct Node {
@@ -166,7 +166,7 @@ public:
TypeNode() { type = TYPE_TYPE; }
};
struct BuiltInFunctionNode : public Node {
- GDFunctions::Function function;
+ GDScriptFunctions::Function function;
BuiltInFunctionNode() { type = TYPE_BUILT_IN_FUNCTION; }
};
@@ -448,7 +448,7 @@ public:
};
private:
- GDTokenizer *tokenizer;
+ GDScriptTokenizer *tokenizer;
Node *head;
Node *list;
@@ -540,8 +540,8 @@ public:
int get_completion_identifier_is_function();
void clear();
- GDParser();
- ~GDParser();
+ GDScriptParser();
+ ~GDScriptParser();
};
-#endif // PARSER_H
+#endif // GDSCRIPT_PARSER_H