gpt4 book ai didi

com.ximpleware.extended.xpath.Yylex类的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 10:29:31 29 4
gpt4 key购买 nike

本文整理了Java中com.ximpleware.extended.xpath.Yylex类的一些代码示例,展示了Yylex类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Yylex类的具体详情如下:
包路径:com.ximpleware.extended.xpath.Yylex
类名称:Yylex

Yylex介绍

[英]This class is a scanner generated by JFlex 1.4.1 on 9/21/09 2:31 PM from the specification file C:/Documents and Settings/HP_Administrator/workspace/ximple-dev/com/ximpleware/extended/xpath/scanner.flex
[中]这个类是由JFlex1.4.1在2009年9月21日下午2:31从规范文件C:/Documents and Settings/HP_Administrator/workspace/ximple dev/com/ximpleware/extended/xpath/scanner生成的扫描程序。弯曲

代码示例

代码示例来源:origin: com.ximpleware/vtd-xml

public parser (java.io.Reader input) {
 super(new Yylex(input));
 nsHash = null;
}

代码示例来源:origin: com.ximpleware/vtd-xml

/**
 * 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();
 }
}

代码示例来源:origin: com.ximpleware/vtd-xml

/**
 * 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;
}

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

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);

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{
  Yylex scanner = (Yylex)getScanner();
  throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset());
}

代码示例来源:origin: com.ximpleware/vtd-xml

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);

代码示例来源:origin: dryade/vtd-xml

public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{
  Yylex scanner = (Yylex)getScanner();
  throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset());
}

代码示例来源:origin: dryade/vtd-xml

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);

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

/**
 * 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;
}

代码示例来源:origin: com.ximpleware/vtd-xml

public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseExceptionHuge{
  Yylex scanner = (Yylex)getScanner();
  throw new XPathParseExceptionHuge("XPath Syntax error: "+cur_token, scanner.getOffset());
}

代码示例来源:origin: dryade/vtd-xml

public parser (java.io.InputStream input) {
 super(new Yylex(input));
}

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

/**
 * 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();
 }
}

代码示例来源:origin: dryade/vtd-xml

/**
 * 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;
}

代码示例来源:origin: dryade/vtd-xml

throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+
    " node(), comment(), pi(), or text()",
  scanner.getOffset());

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

public parser (java.io.Reader input) {
 super(new Yylex(input));
 nsHash = null;
}

代码示例来源:origin: dryade/vtd-xml

/**
 * 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();
 }
}

代码示例来源:origin: com.ximpleware/vtd-xml

throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+
    " node(), comment(), pi(), or text()",
  scanner.getOffset());

代码示例来源:origin: dryade/vtd-xml

public parser (java.io.Reader input) {
 super(new Yylex(input));
 nsHash = null;
}

代码示例来源:origin: org.agmip.thirdparty/ximpleware-vtd-xml

throw new XPathParseExceptionHuge(as.getAxisString()+" axis can't operate on"+
    " node(), comment(), pi(), or text()",
  scanner.getOffset());

代码示例来源:origin: com.ximpleware/vtd-xml

public parser (java.io.InputStream input) {
 super(new Yylex(input));
}

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com