You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Dead code tells no tales
This commit is contained in:
@@ -91,7 +91,6 @@ class GDCompiler {
|
||||
}
|
||||
}
|
||||
|
||||
//int get_identifier_pos(const StringName& p_dentifier) const;
|
||||
HashMap<Variant, int, VariantHasher, VariantComparator> constant_map;
|
||||
Map<StringName, int> name_map;
|
||||
|
||||
@@ -127,17 +126,6 @@ class GDCompiler {
|
||||
int call_max;
|
||||
};
|
||||
|
||||
#if 0
|
||||
void _create_index(const GDParser::OperatorNode *on);
|
||||
void _create_call(const GDParser::OperatorNode *on);
|
||||
|
||||
|
||||
int _parse_expression(const GDParser::Node *p_expr,CodeGen& codegen);
|
||||
void _parse_block(GDParser::BlockNode *p_block);
|
||||
void _parse_function(GDParser::FunctionNode *p_func);
|
||||
Ref<GDScript> _parse_class(GDParser::ClassNode *p_class);
|
||||
#endif
|
||||
|
||||
bool _is_class_member_property(CodeGen &codegen, const StringName &p_name);
|
||||
bool _is_class_member_property(GDScript *owner, const StringName &p_name);
|
||||
|
||||
@@ -146,7 +134,6 @@ class GDCompiler {
|
||||
bool _create_unary_operator(CodeGen &codegen, const GDParser::OperatorNode *on, Variant::Operator op, int p_stack_level);
|
||||
bool _create_binary_operator(CodeGen &codegen, const GDParser::OperatorNode *on, Variant::Operator op, int p_stack_level, bool p_initializer = false);
|
||||
|
||||
//int _parse_subexpression(CodeGen& codegen,const GDParser::BlockNode *p_block,const GDParser::Node *p_expression);
|
||||
int _parse_assign_right_expression(CodeGen &codegen, const GDParser::OperatorNode *p_expression, int p_stack_level);
|
||||
int _parse_expression(CodeGen &codegen, const GDParser::Node *p_expression, int p_stack_level, bool p_root = false, bool p_initializer = false);
|
||||
Error _parse_block(CodeGen &codegen, const GDParser::BlockNode *p_block, int p_stack_level = 0, int p_break_addr = -1, int p_continue_addr = -1);
|
||||
|
||||
Reference in New Issue
Block a user