Jaa


Constant Class

Definition

Constant expression.

public class Constant : AdaptiveExpressions.Expression
type Constant = class
    inherit Expression
Public Class Constant
Inherits Expression
Inheritance
Constant

Constructors

Constant(Object)

Initializes a new instance of the Constant class. Construct an expression constant.

Properties

Children

Gets or sets children expressions.

(Inherited from Expression)
Evaluator

Gets expression evaluator.

(Inherited from Expression)
ReturnType

Gets expected result of evaluating expression.

(Inherited from Expression)
Type

Gets type of expression.

(Inherited from Expression)
Value

Gets or sets constant value.

Methods

DeepEquals(Expression)

Determines if the current Expression instance is deep equal to another one.

References()

Return the static reference paths to memory.

(Inherited from Expression)
ReferenceWalk(Expression, Func<Expression,Boolean>)

Walking function for identifying static memory references in an expression.

(Inherited from Expression)
ToString()

Returns a string that represents the current object.

TryEvaluate(IMemory, Options)

Evaluate the expression.

(Inherited from Expression)
TryEvaluate(Object, Options)

Evaluate the expression.

(Inherited from Expression)
TryEvaluate<T>(IMemory, Options)

Evaluate the expression.

(Inherited from Expression)
TryEvaluate<T>(Object, Options)

Evaluate the expression.

(Inherited from Expression)
Validate()

Validate immediate expression.

(Inherited from Expression)
ValidateTree()

Recursively validate the expression tree.

(Inherited from Expression)

Extension Methods

DisjunctiveNormalForm(Expression)

Rewrite expression into disjunctive normal form.

PushDownNot(Expression)

Rewrite the expression by pushing not down to the leaves.

Applies to