Package hydra.ext.java.syntax
Class ConditionalExpression_TernaryCond
- java.lang.Object
-
- hydra.ext.java.syntax.ConditionalExpression_TernaryCond
-
- All Implemented Interfaces:
java.io.Serializable
public class ConditionalExpression_TernaryCond extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ConditionalOrExpression
cond
static Name
FIELD_NAME_COND
static Name
FIELD_NAME_IF_FALSE
static Name
FIELD_NAME_IF_TRUE
ConditionalExpression
ifFalse
Expression
ifTrue
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description ConditionalExpression_TernaryCond(ConditionalOrExpression cond, Expression ifTrue, ConditionalExpression ifFalse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
ConditionalExpression_TernaryCond
withCond(ConditionalOrExpression cond)
ConditionalExpression_TernaryCond
withIfFalse(ConditionalExpression ifFalse)
ConditionalExpression_TernaryCond
withIfTrue(Expression ifTrue)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_COND
public static final Name FIELD_NAME_COND
-
FIELD_NAME_IF_TRUE
public static final Name FIELD_NAME_IF_TRUE
-
FIELD_NAME_IF_FALSE
public static final Name FIELD_NAME_IF_FALSE
-
cond
public final ConditionalOrExpression cond
-
ifTrue
public final Expression ifTrue
-
ifFalse
public final ConditionalExpression ifFalse
-
-
Constructor Detail
-
ConditionalExpression_TernaryCond
public ConditionalExpression_TernaryCond(ConditionalOrExpression cond, Expression ifTrue, ConditionalExpression ifFalse)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withCond
public ConditionalExpression_TernaryCond withCond(ConditionalOrExpression cond)
-
withIfTrue
public ConditionalExpression_TernaryCond withIfTrue(Expression ifTrue)
-
withIfFalse
public ConditionalExpression_TernaryCond withIfFalse(ConditionalExpression ifFalse)
-
-