public class AstUnary extends AstRightValue
Modifier and Type | Class and Description |
---|---|
static interface |
AstUnary.Operator |
static class |
AstUnary.SimpleOperator |
Modifier and Type | Field and Description |
---|---|
static AstUnary.Operator |
EMPTY |
static AstUnary.Operator |
NEG |
static AstUnary.Operator |
NOT |
Constructor and Description |
---|
AstUnary(AstNode child,
AstUnary.Operator operator) |
Modifier and Type | Method and Description |
---|---|
void |
appendStructure(StringBuilder b,
Bindings bindings) |
Object |
eval(Bindings bindings,
javax.el.ELContext context) |
int |
getCardinality()
Get the node's number of children.
|
AstNode |
getChild(int i)
Get i'th child
|
AstUnary.Operator |
getOperator() |
String |
toString() |
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
findAccessibleMethod, getStructuralId, getValue
public static final AstUnary.Operator EMPTY
public static final AstUnary.Operator NEG
public static final AstUnary.Operator NOT
public AstUnary(AstNode child, AstUnary.Operator operator)
public AstUnary.Operator getOperator()
public void appendStructure(StringBuilder b, Bindings bindings)
appendStructure
in class AstNode
public int getCardinality()
Node
Copyright © 2006–2017 Odysseus Software GmbH. All rights reserved.