public class PostfixExpression extends Object implements Iterable<PostfixExpression.Token>
Modifier and Type | Class and Description |
---|---|
static class |
PostfixExpression.OpStack |
static class |
PostfixExpression.Token |
static interface |
PostfixExpression.Visitor |
Modifier and Type | Field and Description |
---|---|
static int |
AND |
static int |
ARG |
static int |
LPARA |
static int |
NOT |
static int |
OR |
static int |
PARA |
static int |
RPARA |
Constructor and Description |
---|
PostfixExpression(String expr) |
Modifier and Type | Method and Description |
---|---|
PostfixExpression.Token[] |
getExpression() |
Iterator<PostfixExpression.Token> |
iterator() |
String |
toString() |
Object |
visit(PostfixExpression.Visitor visitor) |
public static final int ARG
public static final int NOT
public static final int AND
public static final int OR
public static final int PARA
public static final int LPARA
public static final int RPARA
public PostfixExpression(String expr) throws ParseException
ParseException
public PostfixExpression.Token[] getExpression()
public Iterator<PostfixExpression.Token> iterator()
iterator
in interface Iterable<PostfixExpression.Token>
public Object visit(PostfixExpression.Visitor visitor)
Copyright © 2014 Nuxeo SA. All rights reserved.