public abstract class SimpleMacro extends Macro
Modifier | Constructor and Description |
---|---|
protected |
SimpleMacro(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Result |
calculateQuickResult(Expression [] params,
ExpressionContext context) |
Result |
calculateResult(Expression [] params,
ExpressionContext context) |
protected abstract java.lang.String |
evaluateSimpleMacro(Expression[] params,
ExpressionContext context) |
java.lang.String |
getDefaultValue() |
java.lang.String |
getName() |
java.lang.String |
getPresentableName() |
calculateLookupItems, getLookupFocusDegree, isAcceptableInContext
public java.lang.String getPresentableName()
getPresentableName
in class Macro
public java.lang.String getDefaultValue()
getDefaultValue
in class Macro
public Result calculateResult(Expression [] params, ExpressionContext context)
calculateResult
in class Macro
public Result calculateQuickResult(Expression [] params, ExpressionContext context)
calculateQuickResult
in class Macro
protected abstract java.lang.String evaluateSimpleMacro(Expression[] params, ExpressionContext context)