public abstract static class Funcs.AbstractExpr extends Object implements IExpr, Runnable
Modifier and Type | Field and Description |
---|---|
protected ParseCtx |
debugInfo |
protected String |
name |
Constructor and Description |
---|
AbstractExpr() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doEvaluate(Backtrace backtrace,
Compiler.ICtx ctx) |
Object |
evaluate(Backtrace backtrace,
Compiler.ICtx ctx) |
ParseCtx |
getDebugInfo() |
protected String |
getName() |
protected String |
getTraceName() |
void |
run()
Run expression in separate Thread.
|
void |
setDebugInfo(ParseCtx debugInfo) |
void |
setName(String name) |
protected abstract Object doEvaluate(Backtrace backtrace, Compiler.ICtx ctx)
public void setDebugInfo(ParseCtx debugInfo)
setDebugInfo
in interface ICompiled
public ParseCtx getDebugInfo()
getDebugInfo
in interface ICompiled
protected String getTraceName()
protected String getName()
public final Object evaluate(Backtrace backtrace, Compiler.ICtx ctx)
Copyright © 2022. All rights reserved.