Package | Description |
---|---|
net.hydromatic.linq4j.expressions |
Object model for Java expressions.
|
Modifier and Type | Method and Description |
---|---|
static ConditionalStatement |
Expressions.ifThen(Expression test,
Node ifTrue)
Creates a ConditionalExpression that represents a conditional
block with an if statement.
|
static ConditionalStatement |
Expressions.ifThenElse(Expression test,
Node... nodes)
Creates a ConditionalExpression that represents a conditional
block with if and else statements:
if (test) stmt1 [ else if (test2) stmt2 ]... |
static ConditionalStatement |
Expressions.ifThenElse(Expression test,
Node ifTrue,
Node ifFalse)
Creates a ConditionalExpression that represents a conditional
block with if and else statements.
|
static ConditionalStatement |
Expressions.ifThenElse(Iterable<? extends Node> nodes)
Creates a ConditionalExpression that represents a conditional
block with if and else statements:
if (test) stmt1 [ else if (test2) stmt2 ]... |
Modifier and Type | Method and Description |
---|---|
Visitor |
Visitor.preVisit(ConditionalStatement conditionalStatement) |
Statement |
OptimizeVisitor.visit(ConditionalStatement conditionalStatement,
List<Node> list) |
Statement |
Visitor.visit(ConditionalStatement conditionalStatement,
List<Node> list) |
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.