mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add typing syntax
This commit is contained in:
parent
cfcb6e11f2
commit
8aab9a06d4
6 changed files with 147 additions and 76 deletions
|
|
@ -430,6 +430,10 @@ int GDScriptCompiler::_parse_expression(CodeGen &codegen, const GDScriptParser::
|
|||
return dst_addr;
|
||||
|
||||
} break;
|
||||
case GDScriptParser::Node::TYPE_CAST: {
|
||||
const GDScriptParser::CastNode *cn = static_cast<const GDScriptParser::CastNode *>(p_expression);
|
||||
return _parse_expression(codegen, cn->source_node, p_stack_level);
|
||||
} break;
|
||||
case GDScriptParser::Node::TYPE_OPERATOR: {
|
||||
//hell breaks loose
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue