Package | Description |
---|---|
net.hydromatic.linq4j.expressions |
Object model for Java expressions.
|
Modifier and Type | Method and Description |
---|---|
static UnaryExpression |
Expressions.arrayLength(Expression array)
Creates a UnaryExpression that represents an expression for
obtaining the length of a one-dimensional array.
|
static UnaryExpression |
Expressions.convert_(Expression expression,
Type type)
Creates a UnaryExpression that represents a type conversion
operation.
|
static UnaryExpression |
Expressions.convert_(Expression expression,
Type type,
Method method)
Creates a UnaryExpression that represents a conversion
operation for which the implementing method is specified.
|
static UnaryExpression |
Expressions.convertChecked_(Expression expression,
Type type,
Method method)
Creates a UnaryExpression that represents a conversion
operation that throws an exception if the target type is
overflowed and for which the implementing method is
specified.
|
static UnaryExpression |
Expressions.convertChecked(Expression expression,
Type type)
Creates a UnaryExpression that represents a conversion
operation that throws an exception if the target type is
overflowed.
|
static UnaryExpression |
Expressions.decrement(Expression expression)
Creates a UnaryExpression that represents the decrementing of
the expression by 1.
|
static UnaryExpression |
Expressions.decrement(Expression expression,
Method method)
Creates a UnaryExpression that represents the decrementing of
the expression by 1.
|
static UnaryExpression |
Expressions.increment(Expression expression)
Creates a UnaryExpression that represents the incrementing of
the expression value by 1.
|
static UnaryExpression |
Expressions.increment(Expression expression,
Method method)
Creates a UnaryExpression that represents the incrementing of
the expression by 1.
|
static UnaryExpression |
Expressions.isFalse(Expression expression)
Returns whether the expression evaluates to false.
|
static UnaryExpression |
Expressions.isFalse(Expression expression,
Method method)
Returns whether the expression evaluates to false.
|
static UnaryExpression |
Expressions.isTrue(Expression expression)
Returns whether the expression evaluates to true.
|
static UnaryExpression |
Expressions.isTrue(Expression expression,
Method method)
Returns whether the expression evaluates to true.
|
static UnaryExpression |
Expressions.makeUnary(ExpressionType expressionType,
Expression expression)
Creates a UnaryExpression, given an operand, by calling the
appropriate factory method.
|
static UnaryExpression |
Expressions.makeUnary(ExpressionType expressionType,
Expression expression,
Type type,
Method method)
Creates a UnaryExpression, given an operand and implementing
method, by calling the appropriate factory method.
|
static UnaryExpression |
Expressions.negate(Expression expression)
Creates a UnaryExpression that represents an arithmetic
negation operation.
|
static UnaryExpression |
Expressions.negate(Expression expression,
Method method)
Creates a UnaryExpression that represents an arithmetic
negation operation.
|
static UnaryExpression |
Expressions.negateChecked(Expression expression)
Creates a UnaryExpression that represents an arithmetic
negation operation that has overflow checking.
|
static UnaryExpression |
Expressions.negateChecked(Expression expression,
Method method)
Creates a UnaryExpression that represents an arithmetic
negation operation that has overflow checking.
|
static UnaryExpression |
Expressions.not(Expression expression)
Creates a UnaryExpression that represents a bitwise complement
operation.
|
static UnaryExpression |
Expressions.not(Expression expression,
Method method)
Creates a UnaryExpression that represents a bitwise complement
operation.
|
static UnaryExpression |
Expressions.onesComplement(Expression expression)
Returns the expression representing the ones complement.
|
static UnaryExpression |
Expressions.onesComplement(Expression expression,
Method method)
Returns the expression representing the ones complement.
|
static UnaryExpression |
Expressions.postDecrementAssign(Expression expression)
Creates a UnaryExpression that represents the assignment of
the expression followed by a subsequent decrement by 1 of the
original expression.
|
static UnaryExpression |
Expressions.postDecrementAssign(Expression expression,
Method method)
Creates a UnaryExpression that represents the assignment of
the expression followed by a subsequent decrement by 1 of the
original expression.
|
static UnaryExpression |
Expressions.postIncrementAssign(Expression expression)
Creates a UnaryExpression that represents the assignment of
the expression followed by a subsequent increment by 1 of the
original expression.
|
static UnaryExpression |
Expressions.postIncrementAssign(Expression expression,
Method method)
Creates a UnaryExpression that represents the assignment of
the expression followed by a subsequent increment by 1 of the
original expression.
|
static UnaryExpression |
Expressions.preDecrementAssign(Expression expression)
Creates a UnaryExpression that decrements the expression by 1
and assigns the result back to the expression.
|
static UnaryExpression |
Expressions.preDecrementAssign(Expression expression,
Method method)
Creates a UnaryExpression that decrements the expression by 1
and assigns the result back to the expression.
|
static UnaryExpression |
Expressions.preIncrementAssign(Expression expression)
Creates a UnaryExpression that increments the expression by 1
and assigns the result back to the expression.
|
static UnaryExpression |
Expressions.preIncrementAssign(Expression expression,
Method method)
Creates a UnaryExpression that increments the expression by 1
and assigns the result back to the expression.
|
static UnaryExpression |
Expressions.quote(Expression expression)
Creates a UnaryExpression that represents an expression that
has a constant value of type Expression.
|
static UnaryExpression |
Expressions.rethrow()
Creates a UnaryExpression that represents a rethrowing of an
exception.
|
static UnaryExpression |
Expressions.rethrow(Type type)
Creates a UnaryExpression that represents a rethrowing of an
exception with a given type.
|
static UnaryExpression |
Expressions.typeAs(Expression expression,
Type type)
Creates a UnaryExpression that represents an explicit
reference or boxing conversion where null is supplied if the
conversion fails.
|
static UnaryExpression |
Expressions.unaryPlus(Expression expression)
Creates a UnaryExpression that represents a unary plus
operation.
|
static UnaryExpression |
Expressions.unaryPlus(Expression expression,
Method method)
Creates a UnaryExpression that represents a unary plus
operation.
|
static UnaryExpression |
Expressions.unbox(Expression expression,
Type type)
Creates a UnaryExpression that represents an explicit
unboxing.
|
Modifier and Type | Method and Description |
---|---|
Visitor |
Visitor.preVisit(UnaryExpression unaryExpression) |
Expression |
DeterministicCodeOptimizer.visit(UnaryExpression unaryExpression,
Expression expression) |
Expression |
OptimizeVisitor.visit(UnaryExpression unaryExpression,
Expression expression) |
Expression |
Visitor.visit(UnaryExpression unaryExpression,
Expression expression) |
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.