Logo Fabulous.AST

ParenILEmbeddedBuilders Module

Type extensions

Type extension Description

Ast.ParenILEmbeddedExpr(value)

Full Usage: Ast.ParenILEmbeddedExpr(value)

Parameters:
    value : string - The IL, with or without the surrounding (# ... #).

Returns: WidgetBuilder<Expr>

Create an inline IL expression ((# "ldnull" : 'T #)). The text is emitted as is, wrapped in (# ... #) unless it already has them. Inline IL only compiles inside FSharp.Core (elsewhere it is an error unless warning 42 is suppressed), so it is mainly useful for generating that code.

Extended Type: Ast

value : string

The IL, with or without the surrounding (# ... #).

Returns: WidgetBuilder<Expr>

Type something to start searching.