public abstract class ExpressionPushingInstruction<T extends PsiExpression> extends Instruction
PsiExpression
(or its part) evaluation to the stackModifier | Constructor and Description |
---|---|
protected |
ExpressionPushingInstruction(T expression) |
Modifier and Type | Method and Description |
---|---|
T |
getExpression() |
TextRange |
getExpressionRange() |
accept, getIndex, nextInstruction, setIndex
protected ExpressionPushingInstruction(T expression)
public T getExpression()
public TextRange getExpressionRange()
getExpression()
which this instruction actually evaluates.
Usable for polyadic expressions like a == b == c
: here instruction may evaluate only a == b
part.