跳到主要内容
版本:0.1.0

Class Hook

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

Methods

MakeInterpretedWithNoMotor(string, int)

View Source
Declaration
csharp
public static Delegate MakeInterpretedWithNoMotor(string code, int compilationThreshold = -1)
Declaration
csharp
public static Delegate MakeInterpretedWithNoMotor(string code, int compilationThreshold = -1)
Returns

System.Delegate

Parameters
TypeName
System.Stringcode
System.Int32compilationThreshold

CompileWithNoMotor(string)

View Source
Declaration
csharp
public static Delegate CompileWithNoMotor(string code)
Declaration
csharp
public static Delegate CompileWithNoMotor(string code)
Returns

System.Delegate

Parameters
TypeName
System.Stringcode

RunWithNoMotor(string)

View Source
Declaration
csharp
public static void RunWithNoMotor(string code)
Declaration
csharp
public static void RunWithNoMotor(string code)
Parameters
TypeName
System.Stringcode

Run(RCaronParserContext, MotorOptions?, Motor?)

View Source
Declaration
csharp
public static Motor Run(RCaronParserContext ctx, MotorOptions? options = null, Motor? fakeMotor = null)
Declaration
csharp
public static Motor Run(RCaronParserContext ctx, MotorOptions? options = null, Motor? fakeMotor = null)
Returns

RCaron.Motor

Parameters
TypeName
RCaron.Parsing.RCaronParserContextctx
RCaron.MotorOptionsoptions
RCaron.MotorfakeMotor

EmptyMethod()

View Source
Declaration
csharp
public static void EmptyMethod()
Declaration
csharp
public static void EmptyMethod()