public abstract class NExprContextBase extends Object implements net.thevpc.nuts.expr.NExprContext
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.internal.expr.NExprRPI |
rpi |
| Constructor and Description |
|---|
NExprContextBase(net.thevpc.nuts.internal.expr.NExprRPI rpi) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.expr.NExprNodeValue |
bindLiteral(Object any) |
net.thevpc.nuts.expr.NExprNodeValue |
bindNode(net.thevpc.nuts.expr.NExprNode any) |
net.thevpc.nuts.expr.NExprContextBuilder |
childContext() |
net.thevpc.nuts.util.NOptional<Object> |
evalConstruct(String constructName,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<Object> |
evalFunction(String fctName,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<Object> |
evalInfixOperator(String opName,
net.thevpc.nuts.expr.NExprNodeValue first,
net.thevpc.nuts.expr.NExprNodeValue second) |
net.thevpc.nuts.util.NOptional<Object> |
evalOperator(String opName,
net.thevpc.nuts.expr.NExprOpType type,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<Object> |
evalPostfixOperator(String opName,
net.thevpc.nuts.expr.NExprNodeValue arg) |
net.thevpc.nuts.util.NOptional<Object> |
evalPrefixOperator(String opName,
net.thevpc.nuts.expr.NExprNodeValue arg) |
<A,B> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction2<A,B,?>> |
findCommonInfixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> firstArgType,
Class<? extends B> secondArgType) |
<A> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction<A,?>> |
findCommonPostfixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> argType) |
<A> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction<A,?>> |
findCommonPrefixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> argType) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprFunction> |
getConstruct(String constructName,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprFunction> |
getFunction(String fctName,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprOperator> |
getOperator(String opName,
net.thevpc.nuts.expr.NExprOpType type,
net.thevpc.nuts.expr.NExprNodeValue... args) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprVar> |
getVar(String varName) |
net.thevpc.nuts.util.NOptional<Object> |
getVarValue(String varName) |
net.thevpc.nuts.expr.NExprInterpolatedStringNode |
ofDollarInterpolatedString(String a) |
net.thevpc.nuts.expr.NExprInterpolatedStringNode |
ofMoustacheInterpolatedString(String a) |
net.thevpc.nuts.expr.NExprTemplate |
ofTemplate() |
List<net.thevpc.nuts.expr.NExprOperator> |
operators() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprNode> |
parse(String expression) |
public NExprContextBase(net.thevpc.nuts.internal.expr.NExprRPI rpi)
public net.thevpc.nuts.util.NOptional<Object> evalFunction(String fctName, net.thevpc.nuts.expr.NExprNodeValue... args)
evalFunction in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> evalConstruct(String constructName, net.thevpc.nuts.expr.NExprNodeValue... args)
evalConstruct in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> evalOperator(String opName, net.thevpc.nuts.expr.NExprOpType type, net.thevpc.nuts.expr.NExprNodeValue... args)
evalOperator in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> evalInfixOperator(String opName, net.thevpc.nuts.expr.NExprNodeValue first, net.thevpc.nuts.expr.NExprNodeValue second)
evalInfixOperator in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> evalPrefixOperator(String opName, net.thevpc.nuts.expr.NExprNodeValue arg)
evalPrefixOperator in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> evalPostfixOperator(String opName, net.thevpc.nuts.expr.NExprNodeValue arg)
evalPostfixOperator in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<Object> getVarValue(String varName)
getVarValue in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprContextBuilder childContext()
childContext in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprNode> parse(String expression)
parse in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprNodeValue bindLiteral(Object any)
bindLiteral in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprNodeValue bindNode(net.thevpc.nuts.expr.NExprNode any)
bindNode in interface net.thevpc.nuts.expr.NExprContextpublic <A,B> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction2<A,B,?>> findCommonInfixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> firstArgType,
Class<? extends B> secondArgType)
findCommonInfixOp in interface net.thevpc.nuts.expr.NExprContextpublic <A> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction<A,?>> findCommonPrefixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> argType)
findCommonPrefixOp in interface net.thevpc.nuts.expr.NExprContextpublic <A> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NFunction<A,?>> findCommonPostfixOp(net.thevpc.nuts.expr.NExprCommonOp op,
Class<? extends A> argType)
findCommonPostfixOp in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprFunction> getFunction(String fctName, net.thevpc.nuts.expr.NExprNodeValue... args)
getFunction in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprFunction> getConstruct(String constructName, net.thevpc.nuts.expr.NExprNodeValue... args)
getConstruct in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprOperator> getOperator(String opName, net.thevpc.nuts.expr.NExprOpType type, net.thevpc.nuts.expr.NExprNodeValue... args)
getOperator in interface net.thevpc.nuts.expr.NExprContextpublic List<net.thevpc.nuts.expr.NExprOperator> operators()
operators in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.expr.NExprVar> getVar(String varName)
getVar in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprInterpolatedStringNode ofDollarInterpolatedString(String a)
ofDollarInterpolatedString in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprInterpolatedStringNode ofMoustacheInterpolatedString(String a)
ofMoustacheInterpolatedString in interface net.thevpc.nuts.expr.NExprContextpublic net.thevpc.nuts.expr.NExprTemplate ofTemplate()
ofTemplate in interface net.thevpc.nuts.expr.NExprContextCopyright © 2026 vpc open source initiative. All rights reserved.