public interface PsiConditionalExpression extends PsiExpression
a ? 1 : 2.Iconable.IconFlags, Iconable.LastComputedIconARRAY_FACTORY, EMPTY_ARRAY, EXPRESSION_TO_TYPEICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Modifier and Type | Method and Description |
|---|---|
PsiExpression |
getCondition()
Returns the expression representing the condition part of the expression.
|
PsiExpression |
getElseExpression()
Returns the expression which is the result used when the condition is false.
|
PsiExpression |
getThenExpression()
Returns the expression which is the result used when the condition is true.
|
getTypeaccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringgetUserData, putUserDataPsiExpression getCondition()
PsiExpression getThenExpression()
PsiExpression getElseExpression()