/** * Pushes the specified amount of characters back into the input stream. * * They will be read again by then next call of the scanning method * * @param number the number of characters to be read again. * This number must not be greater than yylength()! */ public void yypushback(int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
/** * Pushes the specified amount of characters back into the input stream. * * They will be read again by then next call of the scanning method * * @param number the number of characters to be read again. * This number must not be greater than yylength()! */ public void yypushback(int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
/** * Pushes the specified amount of characters back into the input stream. * * They will be read again by then next call of the scanning method * * @param number the number of characters to be read again. * This number must not be greater than yylength()! */ public void yypushback(int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
/** * Pushes the specified amount of characters back into the input stream. * * They will be read again by then next call of the scanning method * * @param number the number of characters to be read again. * This number must not be greater than yylength()! */ public void yypushback(int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
public Token directive(char c) { Token token; if (c == 'z') { int colons = yylength()-1; // can only be colons except the 'z' return Token.zoneOffsetColons(colons); } else if ((token = Token.format(c)) != null) { return token; } else { return Token.special(c); } }
public Token directive(char c) { Token token; if (c == 'z') { int colons = yylength()-1; // can only be colons except the 'z' return Token.zoneOffsetColons(colons); } else if ((token = Token.format(c)) != null) { return token; } else { return Token.special(c); } }
public Token directive(char c) { Token token; if (c == 'z') { int colons = yylength()-1; // can only be colons except the 'z' return Token.zoneOffsetColons(colons); } else if ((token = Token.format(c)) != null) { return token; } else { return Token.special(c); } }
public Token directive(char c) { Token token; if (c == 'z') { int colons = yylength()-1; // can only be colons except the 'z' return Token.zoneOffsetColons(colons); } else if ((token = Token.format(c)) != null) { return token; } else { return Token.special(c); } }
{ yybegin(YYINITIAL); return directive(yycharat(yylength()-1));
{ yybegin(YYINITIAL); return directive(yycharat(yylength()-1));
{ yybegin(YYINITIAL); return directive(yycharat(yylength()-1));
{ yybegin(YYINITIAL); return directive(yycharat(yylength()-1));