public class DefaultIfNode extends Object implements net.thevpc.nuts.expr.NExprIfNode
| Constructor and Description |
|---|
DefaultIfNode(net.thevpc.nuts.expr.NExprNode conditionNode,
net.thevpc.nuts.expr.NExprNode trueNode,
net.thevpc.nuts.expr.NExprNode falseNode) |
| Modifier and Type | Method and Description |
|---|---|
NOptional<Object> |
eval(net.thevpc.nuts.expr.NExprDeclarations context) |
List<net.thevpc.nuts.expr.NExprNode> |
getChildren() |
net.thevpc.nuts.expr.NExprNode |
getConditionNode() |
net.thevpc.nuts.expr.NExprNode |
getFalseNode() |
String |
getName() |
net.thevpc.nuts.expr.NExprNode |
getTrueNode() |
net.thevpc.nuts.expr.NExprNodeType |
getType() |
String |
toString() |
public DefaultIfNode(net.thevpc.nuts.expr.NExprNode conditionNode, net.thevpc.nuts.expr.NExprNode trueNode, net.thevpc.nuts.expr.NExprNode falseNode)
public net.thevpc.nuts.expr.NExprNodeType getType()
getType in interface net.thevpc.nuts.expr.NExprNodepublic List<net.thevpc.nuts.expr.NExprNode> getChildren()
getChildren in interface net.thevpc.nuts.expr.NExprNodepublic String getName()
getName in interface net.thevpc.nuts.expr.NExprNodepublic net.thevpc.nuts.expr.NExprNode getConditionNode()
getConditionNode in interface net.thevpc.nuts.expr.NExprIfNodepublic net.thevpc.nuts.expr.NExprNode getTrueNode()
getTrueNode in interface net.thevpc.nuts.expr.NExprIfNodepublic net.thevpc.nuts.expr.NExprNode getFalseNode()
getFalseNode in interface net.thevpc.nuts.expr.NExprIfNodepublic NOptional<Object> eval(net.thevpc.nuts.expr.NExprDeclarations context)
eval in interface net.thevpc.nuts.expr.NExprNodeCopyright © 2025 vpc open source initiative. All rights reserved.