mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-06 07:45:50 +02:00
Cosmetics.
This commit is contained in:
parent
a7c5159320
commit
be029369eb
1 changed files with 1 additions and 2 deletions
|
@ -12,9 +12,7 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.formatter.scanner;
|
package org.eclipse.cdt.internal.formatter.scanner;
|
||||||
|
|
||||||
|
|
||||||
public class Token {
|
public class Token {
|
||||||
|
|
||||||
public int type;
|
public int type;
|
||||||
public String text;
|
public String text;
|
||||||
public int offset;
|
public int offset;
|
||||||
|
@ -214,6 +212,7 @@ public class Token {
|
||||||
public boolean isAssignmentOperator() {
|
public boolean isAssignmentOperator() {
|
||||||
return isAssignmentOperator(type);
|
return isAssignmentOperator(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isAssignmentOperator(int type) {
|
public static boolean isAssignmentOperator(int type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case tASSIGN:
|
case tASSIGN:
|
||||||
|
|
Loading…
Add table
Reference in a new issue