| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Optional | |
| public static int | Returns: token without assignment, or the original token if it was not an assignment operatortoken for which to remove assignment op)Removes the assignment portion of a given token. |
| TokenUtil | back to summary |
|---|---|
| private TokenUtil() | |
| asAssignment | back to summary |
|---|---|
| public static Optional | |
| removeAssignment | back to summary |
|---|---|
| public static int removeAssignment(int op) Removes the assignment portion of a given token. If the given token is not an operator with assignment, the given token is returned.
| |