Class UnsignedRightShiftExpression
Represents unsigned right shift expression.
Inherited Members
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public sealed class UnsignedRightShiftExpression : CustomExpression
Constructors
| Edit this page View SourceUnsignedRightShiftExpression(Expression, Expression)
Initializes a new unsigned right shift expression.
Declaration
public UnsignedRightShiftExpression(Expression expr, Expression shiftAmount)
Parameters
Type | Name | Description |
---|---|---|
Expression | expr | The left operand. |
Expression | shiftAmount | The shift amount. |
Exceptions
Type | Condition |
---|---|
ArgumentException |
|
Properties
| Edit this page View SourceLeft
Represents left operand.
Declaration
public Expression Left { get; }
Property Value
Type | Description |
---|---|
Expression |
Method
Represents a method that implements unsigned right shift.
Declaration
public MethodInfo Method { get; }
Property Value
Type | Description |
---|---|
MethodInfo |
Right
Represents right operand.
Declaration
public Expression Right { get; }
Property Value
Type | Description |
---|---|
Expression |
Methods
| Edit this page View SourceReduce()
Translates this expression into predefined set of expressions using Lowering technique.
Declaration
public override Expression Reduce()
Returns
Type | Description |
---|---|
Expression | Translated expression. |
Overrides
| Edit this page View SourceVisitChildren(ExpressionVisitor)
Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.
Declaration
protected override UnsignedRightShiftExpression VisitChildren(ExpressionVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
ExpressionVisitor | visitor | An instance of Func<T, TResult>. |
Returns
Type | Description |
---|---|
UnsignedRightShiftExpression | The expression being visited, or an expression which should replace it in the tree. |