跳到主要内容
版本:Next

Class CompiledContext

Assembly: RCaron.Jit.dll
View Source
Declaration
csharp
public record CompiledContext : IEquatable<CompiledContext>
Declaration
csharp
public record CompiledContext : IEquatable<CompiledContext>

Implements:
System.IEquatable<RCaron.Jit.CompiledContext>

Properties

Functions

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

FileScope

View Source
Declaration
csharp
public FileScope FileScope { get; init; }
Declaration
csharp
public FileScope FileScope { get; init; }

FakedMotorConstant

View Source
Declaration
csharp
public ConstantExpression FakedMotorConstant { get; init; }
Declaration
csharp
public ConstantExpression FakedMotorConstant { get; init; }

Classes

View Source
Declaration
csharp
public IList<CompiledClass> Classes { get; init; }
Declaration
csharp
public IList<CompiledClass> Classes { get; init; }

FakedMotor

View Source
Declaration
csharp
public Motor? FakedMotor { get; init; }
Declaration
csharp
public Motor? FakedMotor { get; init; }

OverrideModules

View Source
Declaration
csharp
public List<object> OverrideModules { get; init; }
Declaration
csharp
public List<object> OverrideModules { get; init; }

ImportedContexts

View Source
Declaration
csharp
public List<CompiledContext>? ImportedContexts { get; set; }
Declaration
csharp
public List<CompiledContext>? ImportedContexts { get; set; }

ImportedFunctions

View Source
Declaration
csharp
public Dictionary<string, CompiledFunction>? ImportedFunctions { get; set; }
Declaration
csharp
public Dictionary<string, CompiledFunction>? ImportedFunctions { get; set; }

ImportedClasses

View Source
Declaration
csharp
public List<CompiledClass>? ImportedClasses { get; set; }
Declaration
csharp
public List<CompiledClass>? ImportedClasses { get; set; }

CompiledContextConstant

View Source
Declaration
csharp
public ConstantExpression CompiledContextConstant { get; set; }
Declaration
csharp
public ConstantExpression CompiledContextConstant { get; set; }

Methods

GetClass(ClassDefinition, bool)

View Source
Declaration
csharp
public CompiledClass? GetClass(ClassDefinition definition, bool includeImported = true)
Declaration
csharp
public CompiledClass? GetClass(ClassDefinition definition, bool includeImported = true)
Returns

RCaron.Jit.CompiledClass

Parameters
TypeName
RCaron.Classes.ClassDefinitiondefinition
System.BooleanincludeImported

GetFunction(string, bool)

View Source
Declaration
csharp
public CompiledFunction? GetFunction(string name, bool includeImported = true)
Declaration
csharp
public CompiledFunction? GetFunction(string name, bool includeImported = true)
Returns

RCaron.Jit.CompiledFunction

Parameters
TypeName
System.Stringname
System.BooleanincludeImported

Implements

  • System.IEquatable<RCaron.Jit.CompiledContext>

Extension Methods