Functions for transforming, evaluation, and inspecting Expr
and Expr<'a>
objects.
Function or value | Description |
|
|
|
|
|
|
|
|
Full Usage:
evaluate expr
Parameters:
Expr<'a>
-
('a Expr) to evaluate
Returns: 'a
Result of evaluation
|
|
Full Usage:
evaluateUntyped expr
Parameters:
Expr
-
Expr to evaluate
Returns: obj
Result of evaluation
|
|
|
|
Full Usage:
expandExpressionSplices e
Parameters:
'e
Returns: 'e
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
exprMatch a b
Parameters: Returns: Dictionary<string, Expr> * Dictionary<string, Expr> * bool
untypedMarkers:Dictionary * typedMarkers : Dictionary * matchResult : bool
|
|
Full Usage:
genericMethodInfo expr
Parameters:
Expr
-
Expr to extract MethodInfo from
Returns: MethodInfo
MethodInfo
|
|
|
|
Full Usage:
methodInfo expr
Parameters:
Expr
-
Expr to extract MethodInfo from
Returns: MethodInfo
MethodInfo
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
toFuncExpression2 f
Parameters:
Expr<('a -> 'b -> 'c)>
Returns: Expression<Func<'a, 'b, 'c>>
|
|
Full Usage:
toFuncExpression3 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd)>
Returns: Expression<Func<'a, 'b, 'c, 'd>>
|
|
Full Usage:
toFuncExpression4 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd -> 'e)>
Returns: Expression<Func<'a, 'b, 'c, 'd, 'e>>
|
|
Full Usage:
toFuncExpression5 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd -> 'e -> 'f)>
Returns: Expression<Func<'a, 'b, 'c, 'd, 'e, 'f>>
|
|
Full Usage:
toFuncExpression6 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g)>
Returns: Expression<Func<'a, 'b, 'c, 'd, 'e, 'f, 'g>>
|
|
Full Usage:
toFuncExpression7 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h)>
Returns: Expression<Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h>>
|
|
Full Usage:
toFuncExpression8 f
Parameters:
Expr<('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h -> 'i)>
Returns: Expression<Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>>
|
|
|
|
|
Traverse quotation applying function to each subexpression, if the function returns None the subexpression is left unchanged. If the function returns Some(true,expr) the subexpression is replaced with expr and the traversal continues on expr. If the function returns Some(false,expr) the subexpression is replaced with expr and the traversal stops.
|
|
|
|
|
Full Usage:
withType name
Parameters:
string
-
Name of the marker to later retreive the match
Returns: 'a
|