Class Portable

Inheritance
object
Portable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FlowSemantics
Assembly: FlowSemantics.dll
Syntax
public static class Portable

Fields

| Edit this page View Source

MaxExprDepth

Declaration
public const int MaxExprDepth = 100
Field Value
Type Description
int
| Edit this page View Source

MaxIRBytes

Declaration
public const int MaxIRBytes = 1000000
Field Value
Type Description
int
| Edit this page View Source

MaxRules

Declaration
public const int MaxRules = 10000
Field Value
Type Description
int
| Edit this page View Source

Ops

Declaration
public static readonly IReadOnlySet<string> Ops
Field Value
Type Description
IReadOnlySet<string>

Methods

| Edit this page View Source

EvalExpr(PExpr, object?)

Declaration
public static object? EvalExpr(Portable.PExpr e, object? input)
Parameters
Type Name Description
Portable.PExpr e
object input
Returns
Type Description
object
| Edit this page View Source

ExprFromNode(JsonNode?, int)

Declaration
public static Portable.PExpr ExprFromNode(JsonNode? node, int depth)
Parameters
Type Name Description
JsonNode node
int depth
Returns
Type Description
Portable.PExpr
| Edit this page View Source

ExprFromNodePublic(JsonNode?)

Declaration
public static Portable.PExpr ExprFromNodePublic(JsonNode? node)
Parameters
Type Name Description
JsonNode node
Returns
Type Description
Portable.PExpr
| Edit this page View Source

ExprToNode(PExpr?)

Declaration
public static JsonObject ExprToNode(Portable.PExpr? e)
Parameters
Type Name Description
Portable.PExpr e
Returns
Type Description
JsonObject
| Edit this page View Source

PAnd(params PExpr[])

Declaration
public static Portable.PExpr PAnd(params Portable.PExpr[] args)
Parameters
Type Name Description
PExpr[] args
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PConst(object?)

Declaration
public static Portable.PExpr PConst(object? value)
Parameters
Type Name Description
object value
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PEq(PExpr, PExpr)

Declaration
public static Portable.PExpr PEq(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PField(string)

Declaration
public static Portable.PExpr PField(string name)
Parameters
Type Name Description
string name
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PGe(PExpr, PExpr)

Declaration
public static Portable.PExpr PGe(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PGt(PExpr, PExpr)

Declaration
public static Portable.PExpr PGt(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PIn(PExpr, IReadOnlyList<object?>)

Declaration
public static Portable.PExpr PIn(Portable.PExpr a, IReadOnlyList<object?> values)
Parameters
Type Name Description
Portable.PExpr a
IReadOnlyList<object> values
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PIsNotNull(PExpr)

Declaration
public static Portable.PExpr PIsNotNull(Portable.PExpr a)
Parameters
Type Name Description
Portable.PExpr a
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PIsNull(PExpr)

Declaration
public static Portable.PExpr PIsNull(Portable.PExpr a)
Parameters
Type Name Description
Portable.PExpr a
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PLe(PExpr, PExpr)

Declaration
public static Portable.PExpr PLe(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PLt(PExpr, PExpr)

Declaration
public static Portable.PExpr PLt(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PNe(PExpr, PExpr)

Declaration
public static Portable.PExpr PNe(Portable.PExpr a, Portable.PExpr b)
Parameters
Type Name Description
Portable.PExpr a
Portable.PExpr b
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PNot(PExpr)

Declaration
public static Portable.PExpr PNot(Portable.PExpr a)
Parameters
Type Name Description
Portable.PExpr a
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PNotIn(PExpr, IReadOnlyList<object?>)

Declaration
public static Portable.PExpr PNotIn(Portable.PExpr a, IReadOnlyList<object?> values)
Parameters
Type Name Description
Portable.PExpr a
IReadOnlyList<object> values
Returns
Type Description
Portable.PExpr
| Edit this page View Source

POr(params PExpr[])

Declaration
public static Portable.PExpr POr(params Portable.PExpr[] args)
Parameters
Type Name Description
PExpr[] args
Returns
Type Description
Portable.PExpr
| Edit this page View Source

PortableFlowFromJSON(string)

Declaration
public static Portable.PortableFlow PortableFlowFromJSON(string text)
Parameters
Type Name Description
string text
Returns
Type Description
Portable.PortableFlow
| Edit this page View Source

PortableFlowFromNode(JsonNode?)

Declaration
public static Portable.PortableFlow PortableFlowFromNode(JsonNode? node)
Parameters
Type Name Description
JsonNode node
Returns
Type Description
Portable.PortableFlow
| Edit this page View Source

PortableFlowToJSON(PortableFlow)

Declaration
public static string PortableFlowToJSON(Portable.PortableFlow pf)
Parameters
Type Name Description
Portable.PortableFlow pf
Returns
Type Description
string
| Edit this page View Source

PortableFlowToNode(PortableFlow)

Declaration
public static JsonObject PortableFlowToNode(Portable.PortableFlow pf)
Parameters
Type Name Description
Portable.PortableFlow pf
Returns
Type Description
JsonObject
| Edit this page View Source

ToClr(JsonNode?)

Declaration
public static object? ToClr(JsonNode? node)
Parameters
Type Name Description
JsonNode node
Returns
Type Description
object
  • Edit this page
  • View Source
In this article
Back to top Apache-2.0 — github.com/sancy1/flowsemantics