|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.osmstyle.eval.AbstractOp
uk.me.parabola.mkgmap.osmstyle.eval.OpenOp
public class OpenOp
An open parenthesis. This is treated specially.
Field Summary |
---|
Fields inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp |
---|
first |
Fields inherited from interface uk.me.parabola.mkgmap.osmstyle.eval.Op |
---|
AND, CLOSE_PAREN, EQUALS, EXISTS, GT, GTE, LT, LTE, NOT, NOT_EQUALS, NOT_EXISTS, OPEN_PAREN, OR, REGEX, VALUE |
Constructor Summary | |
---|---|
OpenOp()
|
Method Summary | |
---|---|
boolean |
eval(Element el)
Evaluate the expression. |
boolean |
hasHigherPriority(Op other)
This is called when it is on the top of the stack. |
int |
priority()
This is used when placing this on the top of the stack, for that purpose it has a very high priority and will not cause anything below to execute. |
Methods inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp |
---|
createOp, getFirst, getType, isType, setFirst, value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenOp()
Method Detail |
---|
public boolean eval(Element el)
Op
el
- The OSM element to be tested.
public int priority()
public boolean hasHigherPriority(Op other)
hasHigherPriority
in interface Op
hasHigherPriority
in class AbstractOp
other
- The other operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |