Extension methods that create and build precompilable designtime Farkles.
Static member | Description |
Full Usage:
PrecompilerExtensions.Build(df)
Parameters:
PrecompilableDesigntimeFarkle<'TResult>
Returns: RuntimeFarkle<'TResult>
|
If the designtime Farkle is not precompiled the resulting runtime Farkle will fail every time it is used.
|
|
|
Full Usage:
PrecompilerExtensions.MarkForPrecompile(df, asm)
Parameters:
DesigntimeFarkle
asm : Assembly
-
The assembly where the precompiled grammar will be stored.
It should be the assembly from which this method was called.
Returns: PrecompilableDesigntimeFarkle
|
This function was introduced to allow using the precompiler from AOT environments where getting the calling assembly is not supported. Learn more, including usage restrictions at
|
Full Usage:
PrecompilerExtensions.MarkForPrecompile(df, asm)
Parameters:
DesigntimeFarkle<'TResult>
asm : Assembly
-
The assembly where the precompiled grammar will be stored.
It should be the assembly from which this method was called.
Returns: PrecompilableDesigntimeFarkle<'TResult>
|
This function was introduced to allow using the precompiler from AOT environments where getting the calling assembly is not supported. Learn more, including usage restrictions at
|
Full Usage:
PrecompilerExtensions.MarkForPrecompile(df)
Parameters:
DesigntimeFarkle
Returns: PrecompilableDesigntimeFarkle
|
Marks an untyped DesigntimeFarkle{TResult} as available to have its grammar precompiled ahead of time. This function has to be directly called from user code. Learn more, including usage restrictions at
|
Full Usage:
PrecompilerExtensions.MarkForPrecompile(df)
Parameters:
DesigntimeFarkle<'TResult>
Returns: PrecompilableDesigntimeFarkle<'TResult>
|
This function has to be directly called from user code. Learn more, including usage restrictions at
|