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 |
protected PostfixExpression.Token[] |
expr |
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() |
protected void |
parse(String expr) |
String |
toString() |
Object |
visit(PostfixExpression.Visitor visitor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
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
protected PostfixExpression.Token[] expr
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)
protected void parse(String expr) throws ParseException
ParseException
Copyright © 2018 Nuxeo. All rights reserved.