Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

92 lines
9.7 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Quotations.DerivedPatterns</TITLE><link rel="stylesheet" type="text/css"href="../msdn.css"></link></HEAD><BODY>
<br><dl>
<dt></dt><dd>
<h1>[<a href='../namespaces.html'>Home</a>] Module <a href='Microsoft.FSharp.Quotations.html'>Microsoft.FSharp.Quotations</a>.DerivedPatterns </h1><br>
</dd>
<dt></dt><dd>
<table>
<tr valign='top'><td><summary>
Contains a set of derived F# active patterns to analyze F# expression objects
</summary>
<dt><h3>Active Patterns</h3></dt><dd>
<table width="100%%">
<tr><th width=60%>Active Pattern</th><th>Description</th></tr>
<tr valign="top"><td><pre>val ( |AndAlso|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> * <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a>) <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize expressions of the form <tt>a &amp;&amp; b</tt>
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Applications|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> * <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a>) <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize expressions that represent the application of a (possibly curried or tupled) first class function value
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Bool|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__bool.html'>bool</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant boolean expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Byte|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__byte.html'>byte</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant byte expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Char|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__char.html'>char</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant unicode character expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Double|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__float.html'>float</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant 64-bit floating point number expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Int16|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__int16.html'>int16</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant int16 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Int32|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__int32.html'>int32</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant int32 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Int64|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__int64.html'>int64</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant int64 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Lambdas|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='Microsoft.FSharp.Quotations.type_Var.html'>Var</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a> * <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a>) <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize expressions that represent a (possibly curried or tupled) first class function value
</summary></td></tr>
<tr valign="top"><td><pre>val ( |MethodWithReflectedDefinition|_| ) : <a href='http://msdn2.microsoft.com/en-us/library/System.Reflection.MethodBase.aspx'>MethodBase</a> -> <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize methods that have an associated ReflectedDefinition
</summary></td></tr>
<tr valign="top"><td><pre>val ( |OrElse|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> * <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a>) <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize expressions of the form <tt>a || b</tt>
</summary></td></tr>
<tr valign="top"><td><pre>val ( |PropertyGetterWithReflectedDefinition|_| ) : <a href='http://msdn2.microsoft.com/en-us/library/System.Reflection.PropertyInfo.aspx'>PropertyInfo</a> -> <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize property getters or values in modules that have an associated ReflectedDefinition
</summary></td></tr>
<tr valign="top"><td><pre>val ( |PropertySetterWithReflectedDefinition|_| ) : <a href='http://msdn2.microsoft.com/en-us/library/System.Reflection.PropertyInfo.aspx'>PropertyInfo</a> -> <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize property setters that have an associated ReflectedDefinition
</summary></td></tr>
<tr valign="top"><td><pre>val ( |SByte|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__sbyte.html'>sbyte</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant signed byte expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Single|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__float32.html'>float32</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant 32-bit floating point number expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |SpecificCall|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> (<a href='http://msdn2.microsoft.com/en-us/library/System.Type.aspx'>Type</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a> * <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> <a href='Microsoft.FSharp.Collections.type__list-1.html'>list</a>) <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a>)</pre></td><td><summary>
A parameterized active pattern to recognize calls to a specified function or method
</summary></td></tr>
<tr valign="top"><td><pre>val ( |String|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__string.html'>string</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant string expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |UInt16|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__uint16.html'>uint16</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant unsigned int16 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |UInt32|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__uint32.html'>uint32</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant unsigned int32 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |UInt64|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__uint64.html'>uint64</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize constant unsigned int64 expressions
</summary></td></tr>
<tr valign="top"><td><pre>val ( |Unit|_| ) : <a href='Microsoft.FSharp.Quotations.type_Expr.html'>Expr</a> -> <a href='Microsoft.FSharp.Core.type__unit.html'>unit</a> <a href='Microsoft.FSharp.Core.type__option-1.html'>option</a></pre></td><td><summary>
An active pattern to recognize <tt>()</tt> constant expressions
</summary></td></tr>
</table>
</dd>
</td></tr>
<tr valign='top'><td>
<dt><h3>See Also</h3></dt><dd>
<a href="Microsoft.FSharp.Quotations.html">Microsoft.FSharp.Quotations</a> </dd>
</td></tr>
</table>
</dd>
</dl>
<br /> <br/><p><i>Documentation for assembly FSharp.Core, version 1.9.6.16, generated using <a href='http://research.microsoft.com/fsharp/'>F# Programming Language</a> version 1.9.6.16</i></p>
</BODY></HTML>