Package org.nuxeo.ecm.webengine.security
Class PostfixExpression
- java.lang.Object
-
- org.nuxeo.ecm.webengine.security.PostfixExpression
-
- All Implemented Interfaces:
Iterable<PostfixExpression.Token>
public class PostfixExpression extends Object implements Iterable<PostfixExpression.Token>
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostfixExpression.OpStackstatic classPostfixExpression.Tokenstatic interfacePostfixExpression.Visitor
-
Constructor Summary
Constructors Constructor Description PostfixExpression(String expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostfixExpression.Token[]getExpression()Iterator<PostfixExpression.Token>iterator()protected voidparse(String expr)StringtoString()Objectvisit(PostfixExpression.Visitor visitor)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
ARG
public static final int ARG
- See Also:
- Constant Field Values
-
NOT
public static final int NOT
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
PARA
public static final int PARA
- See Also:
- Constant Field Values
-
LPARA
public static final int LPARA
- See Also:
- Constant Field Values
-
RPARA
public static final int RPARA
- See Also:
- Constant Field Values
-
expr
protected PostfixExpression.Token[] expr
-
-
Constructor Detail
-
PostfixExpression
public PostfixExpression(String expr) throws ParseException
- Throws:
ParseException
-
-
Method Detail
-
getExpression
public PostfixExpression.Token[] getExpression()
-
iterator
public Iterator<PostfixExpression.Token> iterator()
- Specified by:
iteratorin interfaceIterable<PostfixExpression.Token>
-
visit
public Object visit(PostfixExpression.Visitor visitor)
-
parse
protected void parse(String expr) throws ParseException
- Throws:
ParseException
-
-