interface IResolverType #
interface IResolverType {
mut:
file &ast.File
unwrap_generic(t ast.Type) ast.Type
}
struct ComptimeInfo {
pub mut:
resolver IResolverType = DummyResolver{}
table &ast.Table = unsafe { nil }
inside_comptime_for bool
type_map map[string]ast.Type
comptime_for_variant_var string
comptime_for_field_var string
comptime_for_field_type ast.Type
comptime_for_field_value ast.StructField
comptime_for_enum_var string
comptime_for_attr_var string
comptime_for_method_var string
comptime_for_method &ast.Fn = unsafe { nil }
comptime_for_method_ret_type ast.Type
comptime_for_method_param_var string
}
struct DummyResolver {
mut:
file &ast.File = unsafe { nil }
}