public void goForConstructorBody() {
// tells the scanner to go for compilation unit parsing
- firstToken = TokenNameEQUAL_EQUAL;
+ firstToken = TokenName.EQUAL_EQUAL;
scanner.recordLineSeparator = false;
}
public void goForExpression() {
// tells the scanner to go for an expression parsing
- firstToken = TokenNameREMAINDER;
+ firstToken = TokenName.REMAINDER;
scanner.recordLineSeparator = false;
}
public void goForCompilationUnit() {
// tells the scanner to go for compilation unit parsing
- firstToken = TokenNamePLUS_PLUS;
+ firstToken = TokenName.PLUS_PLUS;
scanner.linePtr = -1;
scanner.foundTaskCount = 0;
scanner.recordLineSeparator = true;
public void goForInitializer() {
// tells the scanner to go for initializer parsing
- firstToken = TokenNameRIGHT_SHIFT;
+ firstToken = TokenName.RIGHT_SHIFT;
scanner.recordLineSeparator = false;
}
public void goForMethodBody() {
// tells the scanner to go for method body parsing
- firstToken = TokenNameMINUS_MINUS;
+ firstToken = TokenName.MINUS_MINUS;
scanner.recordLineSeparator = false;
}