public class VariableNode extends Expression
Constructor and Description |
---|
VariableNode(java.lang.String name,
Expression initialValue) |
Modifier and Type | Method and Description |
---|---|
LookupElement[] |
calculateLookupItems(ExpressionContext context) |
Result |
calculateQuickResult(ExpressionContext context) |
Result |
calculateResult(ExpressionContext context) |
Expression |
getInitialValue() |
java.lang.String |
getName() |
boolean |
requiresCommittedPSI() |
getAdvertisingText, getLookupFocusDegree
public VariableNode(java.lang.String name, Expression initialValue)
public Result calculateResult(ExpressionContext context)
calculateResult
in class Expression
public Result calculateQuickResult(ExpressionContext context)
calculateQuickResult
in class Expression
public boolean requiresCommittedPSI()
requiresCommittedPSI
in class Expression
Expression.calculateResult(com.intellij.codeInsight.template.ExpressionContext)
or
Expression.calculateQuickResult(com.intellij.codeInsight.template.ExpressionContext)
require committed PSI for their calculation or false otherwisepublic LookupElement[] calculateLookupItems(ExpressionContext context)
calculateLookupItems
in class Expression
public java.lang.String getName()
public Expression getInitialValue()