public interface Expression
Modifier and Type | Method and Description |
---|---|
void |
collectIdentifiers(Collection<Identifier> identifiers)
Adds any Identifiers from this expression to the given collection.
|
Object |
eval(EvalContext ctx)
Evaluates the expression and returns the result.
|
boolean |
isConstant() |
String |
toCleanString(LocaleContext ctx) |
String |
toDebugString(LocaleContext ctx) |
String |
toRawString() |
Object eval(EvalContext ctx)
ctx
- the context within which to evaluate the expressionString toDebugString(LocaleContext ctx)
String toCleanString(LocaleContext ctx)
String toRawString()
Object.toString()
.boolean isConstant()
true
if this is a constant expression. A constant
expression will always return the same result when invoked and
has no side effect.void collectIdentifiers(Collection<Identifier> identifiers)
Copyright © 2005–2024 OpenHMS. All rights reserved.