public abstract class ExpressionPushingInstruction<T extends PsiExpression> extends Instruction
PsiExpression (or its part) evaluation to the stack| Modifier | Constructor and Description |
|---|---|
protected |
ExpressionPushingInstruction(T expression) |
| Modifier and Type | Method and Description |
|---|---|
T |
getExpression() |
TextRange |
getExpressionRange() |
accept, getIndex, nextInstruction, setIndexprotected 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.