|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.security.acl.expr.Expression com.cc.framework.security.acl.expr.UnaryExpression
Produktionsregel:
unary_expr : primary_expr | unary_operator primary_expr
Field Summary | |
private Expression |
operand
Der Operand |
private UnaryOperator |
operator
Der Operator |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
UnaryExpression(UnaryOperator op,
Expression expr)
Konstruktor für einen unären Ausdruck |
Method Summary | |
AccessToken |
evaluate(ExecutionEnvironment env)
Mit dieser Methode wird der Ausdruck ausgeführt |
UnaryOperator |
getOperator()
|
static Expression |
parse(TokenStream stream)
Die Methode parst den übergebenen Stream |
java.lang.String |
toString()
|
Methods inherited from class com.cc.framework.security.acl.expr.Expression |
parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private UnaryOperator operator
private Expression operand
Constructor Detail |
public UnaryExpression(UnaryOperator op, Expression expr)
op
- Der Operatorexpr
- Der OperandMethod Detail |
public AccessToken evaluate(ExecutionEnvironment env) throws ExecutionException
Expression
evaluate
in class Expression
env
- Umgebung
ExecutionException
- Wird geworfen wenn kein Wert ermittelt werden kannExpression.evaluate(com.cc.framework.security.acl.expr.ExecutionEnvironment)
public static Expression parse(TokenStream stream) throws SyntaxException
stream
- Token Stream
SyntaxException
- Wird im Falle einer falschen Sysntax geworfenpublic UnaryOperator getOperator()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |