public class DefaultDeclarationMutableContext extends NExprDeclarationsBase implements net.thevpc.nuts.expr.NExprMutableDeclarations
exprs| Constructor and Description |
|---|
DefaultDeclarationMutableContext(net.thevpc.nuts.expr.NExprs exprs,
net.thevpc.nuts.expr.NExprDeclarations parent) |
evalConstruct, evalFunction, evalInfixOperator, evalOperator, evalPostfixOperator, evalPrefixOperator, findCommonInfixOp, findCommonPostfixOp, findCommonPrefixOp, getVarValue, literalAsNode, literalAsValue, newDeclarations, newMutableDeclarations, nodeAsValue, ofConst, ofInterpolatedStr, ofLiteral, ofTemplate, ofVar, ofWord, parse, setVarValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevalConstruct, evalFunction, evalInfixOperator, evalOperator, evalPostfixOperator, evalPrefixOperator, findCommonInfixOp, findCommonPostfixOp, findCommonPrefixOp, getVarValue, literalAsNode, literalAsValue, newDeclarations, newMutableDeclarations, nodeAsValue, ofConst, ofInterpolatedStr, ofLiteral, ofTemplate, ofVar, ofWord, parse, setVarValuepublic DefaultDeclarationMutableContext(net.thevpc.nuts.expr.NExprs exprs, net.thevpc.nuts.expr.NExprDeclarations parent)
public NOptional<net.thevpc.nuts.expr.NExprVarDeclaration> getVar(String name)
getVar in interface net.thevpc.nuts.expr.NExprDeclarationsgetVar in class NExprDeclarationsBasepublic net.thevpc.nuts.expr.NExprVar getOrDeclareVar(String name, Object value)
getOrDeclareVar in interface net.thevpc.nuts.expr.NExprDeclarationsgetOrDeclareVar in class NExprDeclarationsBasepublic NOptional<net.thevpc.nuts.expr.NExprFctDeclaration> getFunction(String name, net.thevpc.nuts.expr.NExprNodeValue... args)
getFunction in interface net.thevpc.nuts.expr.NExprDeclarationsgetFunction in class NExprDeclarationsBasepublic NOptional<net.thevpc.nuts.expr.NExprConstructDeclaration> getConstruct(String name, net.thevpc.nuts.expr.NExprNodeValue... args)
getConstruct in interface net.thevpc.nuts.expr.NExprDeclarationsgetConstruct in class NExprDeclarationsBasepublic net.thevpc.nuts.expr.NExprVarDeclaration declareVar(String name, net.thevpc.nuts.expr.NExprVar varImpl)
declareVar in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprVarDeclaration declareVar(String name)
declareVar in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprVarDeclaration declareConstant(String name, Object value)
declareConstant in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprFctDeclaration declareFunction(String name, net.thevpc.nuts.expr.NExprFct fctImpl)
declareFunction in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprConstructDeclaration declareConstruct(String name, net.thevpc.nuts.expr.NExprConstruct constructImpl)
declareConstruct in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprOpDeclaration declareOperator(String name, net.thevpc.nuts.expr.NExprConstruct impl)
declareOperator in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprOpDeclaration declareOperator(String name, net.thevpc.nuts.expr.NExprOpType type, net.thevpc.nuts.expr.NExprConstruct impl)
declareOperator in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic net.thevpc.nuts.expr.NExprOpDeclaration declareOperator(String name, net.thevpc.nuts.expr.NExprOpType type, int precedence, net.thevpc.nuts.expr.NExprOpAssociativity associativity, net.thevpc.nuts.expr.NExprConstruct impl)
declareOperator in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic NOptional<net.thevpc.nuts.expr.NExprOpDeclaration> getOperator(String opName, net.thevpc.nuts.expr.NExprOpType type, net.thevpc.nuts.expr.NExprNodeValue... nodes)
getOperator in interface net.thevpc.nuts.expr.NExprDeclarationsgetOperator in class NExprDeclarationsBasepublic void resetDeclaration(net.thevpc.nuts.expr.NExprVarDeclaration member)
resetDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void removeDeclaration(net.thevpc.nuts.expr.NExprVarDeclaration member)
removeDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void resetDeclaration(net.thevpc.nuts.expr.NExprFctDeclaration member)
resetDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void removeDeclaration(net.thevpc.nuts.expr.NExprFctDeclaration member)
removeDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void resetDeclaration(net.thevpc.nuts.expr.NExprConstructDeclaration member)
resetDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void removeDeclaration(net.thevpc.nuts.expr.NExprConstructDeclaration member)
removeDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void resetDeclaration(net.thevpc.nuts.expr.NExprOpDeclaration member)
resetDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic void removeDeclaration(net.thevpc.nuts.expr.NExprOpDeclaration member)
removeDeclaration in interface net.thevpc.nuts.expr.NExprMutableDeclarationspublic List<net.thevpc.nuts.expr.NExprOpDeclaration> getOperators()
getOperators in interface net.thevpc.nuts.expr.NExprDeclarationsgetOperators in class NExprDeclarationsBaseCopyright © 2025 vpc open source initiative. All rights reserved.