mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
Cosmetics.
This commit is contained in:
parent
e726c3d217
commit
1e9ebf883d
2 changed files with 8 additions and 12 deletions
|
@ -16,7 +16,6 @@ package org.eclipse.cdt.core.parser;
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
*/
|
*/
|
||||||
public interface IToken {
|
public interface IToken {
|
||||||
|
|
||||||
// getters
|
// getters
|
||||||
public int getType();
|
public int getType();
|
||||||
public String getImage();
|
public String getImage();
|
||||||
|
@ -29,7 +28,6 @@ public interface IToken {
|
||||||
public void setNext(IToken t);
|
public void setNext(IToken t);
|
||||||
public void setType(int i);
|
public void setType(int i);
|
||||||
|
|
||||||
|
|
||||||
// Token types
|
// Token types
|
||||||
int FIRST_RESERVED_PREPROCESSOR= -200;
|
int FIRST_RESERVED_PREPROCESSOR= -200;
|
||||||
int LAST_RESERVED_PREPROCESSOR= -101;
|
int LAST_RESERVED_PREPROCESSOR= -101;
|
||||||
|
@ -39,7 +37,6 @@ public interface IToken {
|
||||||
/** @since 5.2 */
|
/** @since 5.2 */
|
||||||
int t_PRAGMA = 5200;
|
int t_PRAGMA = 5200;
|
||||||
|
|
||||||
|
|
||||||
int tIDENTIFIER = 1;
|
int tIDENTIFIER = 1;
|
||||||
int tINTEGER = 2;
|
int tINTEGER = 2;
|
||||||
int tCOLONCOLON = 3;
|
int tCOLONCOLON = 3;
|
||||||
|
|
|
@ -56,7 +56,6 @@ public class Token implements IToken, Cloneable {
|
||||||
return fNextToken;
|
return fNextToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
final public void setType(int kind) {
|
final public void setType(int kind) {
|
||||||
fKind= kind;
|
fKind= kind;
|
||||||
|
|
Loading…
Add table
Reference in a new issue