跳到主要内容
版本:Next

Class ClassOrTypeResolver

Assembly: RCaron.Jit.dll
View Source
Declaration
csharp
public static class ClassOrTypeResolver
Declaration
csharp
public static class ClassOrTypeResolver

Methods

Resolve(string, FileScope?)

View Source
Declaration
csharp
public static (ClassDefinition? classDefinition, Type? type) Resolve(string name, FileScope? fileScope = null)
Declaration
csharp
public static (ClassDefinition? classDefinition, Type? type) Resolve(string name, FileScope? fileScope = null)
Returns

System.ValueTuple<RCaron.Classes.ClassDefinition,System.Type>

Parameters
TypeName
System.Stringname
RCaron.FileScopefileScope

ResolveForUse(string, FileScope?)

View Source
Declaration
csharp
public static object ResolveForUse(string name, FileScope? fileScope = null)
Declaration
csharp
public static object ResolveForUse(string name, FileScope? fileScope = null)
Returns

System.Object

Parameters
TypeName
System.Stringname
RCaron.FileScopefileScope