跳到主要内容
版本:0.1.0

Class Compiler

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

Methods

CompileToBlock(RCaronParserContext, Motor?)

View Source
Declaration
csharp
public static BlockExpression CompileToBlock(RCaronParserContext parsed, Motor? fakedMotor = null)
Declaration
csharp
public static BlockExpression CompileToBlock(RCaronParserContext parsed, Motor? fakedMotor = null)
Returns

System.Linq.Expressions.BlockExpression

Parameters
TypeName
RCaron.Parsing.RCaronParserContextparsed
RCaron.MotorfakedMotor

Compile(RCaronParserContext, Motor?)

View Source
Declaration
csharp
public static (BlockExpression blockExpression, CompiledContext compiledContext) Compile(RCaronParserContext parsed, Motor? fakedMotor = null)
Declaration
csharp
public static (BlockExpression blockExpression, CompiledContext compiledContext) Compile(RCaronParserContext parsed, Motor? fakedMotor = null)
Returns

System.ValueTuple<System.Linq.Expressions.BlockExpression,RCaron.Jit.CompiledContext>

Parameters
TypeName
RCaron.Parsing.RCaronParserContextparsed
RCaron.MotorfakedMotor

Assert(bool)

View Source
Declaration
csharp
public static void Assert(bool condition)
Declaration
csharp
public static void Assert(bool condition)
Parameters
TypeName
System.Booleancondition

Extension Methods