public parser (java.io.Reader input) { super(new Yylex(input)); nsHash = null; }
/** * Contains user EOF-code, which will be executed exactly once, * when the end of file is reached */ private void zzDoEOF() throws java.io.IOException { if (!zzEOFDone) { zzEOFDone = true; yyclose(); } }
/** * 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; }
boolean eof = zzRefill(); case 57: { isName = 1; yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); len = yytext().length(); name = new NameType(); if (!XMLChar.isNCNameStartChar(yytext().charAt(0))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position 0"); if (!XMLChar.isNCNameChar(yytext().charAt(i))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position "+i); name.prefix = yytext().substring(0,len-2); name.localname = "*"; return sym(NAME,name);
public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{ Yylex scanner = (Yylex)getScanner(); throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset()); }
boolean eof = zzRefill(); case 57: { isName = 1; yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); len = yytext().length(); name = new NameType(); if (!XMLChar.isNCNameStartChar(yytext().charAt(0))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position 0"); if (!XMLChar.isNCNameChar(yytext().charAt(i))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position "+i); name.prefix = yytext().substring(0,len-2); name.localname = "*"; return sym(NAME,name);
public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{ Yylex scanner = (Yylex)getScanner(); throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset()); }
boolean eof = zzRefill(); case 57: { isName = 1; yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); yypushback(1); return sym(FNAME,fname); len = yytext().length(); name = new NameType(); if (!XMLChar.isNCNameStartChar(yytext().charAt(0))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position 0"); if (!XMLChar.isNCNameChar(yytext().charAt(i))) throw new XPathParseExceptionHuge("Invalid char in name token: "+yytext()+ "@position "+i); name.prefix = yytext().substring(0,len-2); name.localname = "*"; return sym(NAME,name);
/** * 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 void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{ Yylex scanner = (Yylex)getScanner(); throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset()); }
public parser (java.io.InputStream input) { super(new Yylex(input)); }
/** * Contains user EOF-code, which will be executed exactly once, * when the end of file is reached */ private void zzDoEOF() throws java.io.IOException { if (!zzEOFDone) { zzEOFDone = true; yyclose(); } }
/** * 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; }
throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+ " node(), comment(), pi(), or text()", scanner.getOffset());
public parser (java.io.Reader input) { super(new Yylex(input)); nsHash = null; }
/** * Contains user EOF-code, which will be executed exactly once, * when the end of file is reached */ private void zzDoEOF() throws java.io.IOException { if (!zzEOFDone) { zzEOFDone = true; yyclose(); } }
throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+ " node(), comment(), pi(), or text()", scanner.getOffset());
public parser (java.io.Reader input) { super(new Yylex(input)); nsHash = null; }
throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+ " node(), comment(), pi(), or text()", scanner.getOffset());
public parser (java.io.InputStream input) { super(new Yylex(input)); }