|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.swt.mcie.parser.token.Token
de.upb.swt.mcie.parser.token.UnOp
public class UnOp
Implements the token for an unary operation. The operations,
their encoding as well as their binding, are defined in the
class UnaryOp
.
UnaryOp
Field Summary | |
---|---|
private int |
op
The operation (resp. its encoding UnaryOp ). |
Constructor Summary | |
---|---|
UnOp(int op)
Constructs a token for the given operation. |
Method Summary | |
---|---|
int |
binding()
Returns the binding level of the operation. |
int |
getOp()
Returns the operation (i.e. its encoding). |
Methods inherited from class de.upb.swt.mcie.parser.token.Token |
---|
setReference, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int op
UnaryOp
).
Constructor Detail |
---|
public UnOp(int op)
op
- Method Detail |
---|
public int binding()
UnaryOp
.
public int getOp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |