跳到主要内容
版本:0.1.0

Class ClassDefinition

Assembly: RCaron.dll
View Source
Declaration
csharp
public sealed class ClassDefinition
Declaration
csharp
public sealed class ClassDefinition

Properties

Name

View Source
Declaration
csharp
public string Name { get; }
Declaration
csharp
public string Name { get; }

PropertyNames

View Source
Declaration
csharp
public string[]? PropertyNames { get; }
Declaration
csharp
public string[]? PropertyNames { get; }

PropertyInitializers

View Source
Declaration
csharp
public PosToken[]?[]? PropertyInitializers { get; }
Declaration
csharp
public PosToken[]?[]? PropertyInitializers { get; }

Functions

View Source
Declaration
csharp
public Dictionary<string, Function>? Functions { get; init; }
Declaration
csharp
public Dictionary<string, Function>? Functions { get; init; }

StaticFunctions

View Source
Declaration
csharp
public Dictionary<string, Function>? StaticFunctions { get; init; }
Declaration
csharp
public Dictionary<string, Function>? StaticFunctions { get; init; }

StaticPropertyNames

View Source
Declaration
csharp
public string[]? StaticPropertyNames { get; init; }
Declaration
csharp
public string[]? StaticPropertyNames { get; init; }

StaticPropertyValues

View Source
Declaration
csharp
public object?[]? StaticPropertyValues { get; init; }
Declaration
csharp
public object?[]? StaticPropertyValues { get; init; }

ToStringOverride

View Source
Declaration
csharp
public Function? ToStringOverride { get; init; }
Declaration
csharp
public Function? ToStringOverride { get; init; }

Methods

GetPropertyIndex(ReadOnlySpan<char>)

View Source
Declaration
csharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Declaration
csharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Returns

System.Int32

Parameters
TypeName
System.ReadOnlySpan<System.Char>name

GetStaticPropertyIndex(ReadOnlySpan<char>)

View Source
Declaration
csharp
public int GetStaticPropertyIndex(ReadOnlySpan<char> name)
Declaration
csharp
public int GetStaticPropertyIndex(ReadOnlySpan<char> name)
Returns

System.Int32

Parameters
TypeName
System.ReadOnlySpan<System.Char>name

TryGetStaticPropertyValue(ReadOnlySpan<char>, out object?)

View Source
Declaration
csharp
public bool TryGetStaticPropertyValue(ReadOnlySpan<char> name, out object? value)
Declaration
csharp
public bool TryGetStaticPropertyValue(ReadOnlySpan<char> name, out object? value)
Returns

System.Boolean

Parameters
TypeName
System.ReadOnlySpan<System.Char>name
System.Objectvalue

Extension Methods