mirror of
https://github.com/open-goal/jak-project
synced 2026-08-06 01:49:17 -04:00
support type-ref (#613)
This commit is contained in:
@@ -215,4 +215,13 @@ StaticResult StaticResult::make_symbol(const std::string& name) {
|
||||
result.m_symbol = name;
|
||||
result.m_ts = TypeSpec("symbol");
|
||||
return result;
|
||||
}
|
||||
|
||||
StaticResult StaticResult::make_type_ref(const std::string& type_name, int method_count) {
|
||||
StaticResult result;
|
||||
result.m_kind = Kind::TYPE;
|
||||
result.m_symbol = type_name;
|
||||
result.m_method_count = method_count;
|
||||
result.m_ts = TypeSpec("type");
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user