gpt4 book ai didi

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

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

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

Yylex介绍

[英]This class is a scanner generated by JFlex 1.4.3 on 10/29/09 7:28 PM from the specification file C:/Documents and Settings/HP_Administrator/workspace/ximple-dev/com/ximpleware/xpath/scanner.flex
[中]这个类是JFlex1.4.3在2009年10月29日晚上7:28从规范文件C:/Documents and Settings/HP_Administrator/workspace/ximple dev/com/ximpleware/xpath/scanner生成的扫描程序。弯曲

代码示例

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

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

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

/**
 * Same as next_token but also prints the token to standard out
 * for debugging.
 *
 * This code was contributed by Karl Meissner <meissnersd@yahoo.com>
 */
public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException, XPathParseException {
 java_cup.runtime.Symbol s = next_token();
 System.out.println( " --"+ yytext() + "--" + getTokenName(s.sym) + "--");
 return s;
}

代码示例来源: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: 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: 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);
 { if (isName == 0) {	
 isName = 1 ;
 return sym(OR);
 } else {
 isName = 0;
 name = new NameType();
 name.qname = "or";
 return sym(NAME,name);
 { isName = 1 ; return sym(NE);
 { if (isName == 0) {
isName = 1 ;

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

Yylex scanner = null;
try {
 scanner = new Yylex( new java.io.FileReader(argv[i]) );
 while ( !scanner.zzAtEOF ) scanner.debug_next_token();

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

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

代码示例来源: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);
 { if (isName == 0) {	
 isName = 1 ;
 return sym(OR);
 } else {
 isName = 0;
 name = new NameType();
 name.qname = "or";
 return sym(NAME,name);
 { isName = 1 ; return sym(NE);
 { if (isName == 0) {
isName = 1 ;

代码示例来源: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: dryade/vtd-xml

Yylex scanner = null;
try {
 scanner = new Yylex( new java.io.FileReader(argv[i]) );
 while ( !scanner.zzAtEOF ) scanner.debug_next_token();

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

public void unrecovered_syntax_error(Symbol cur_token) throws XPathParseException{
 Yylex scanner = (Yylex)getScanner();
 throw new XPathParseException("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);
 { if (isName == 0) {	
 isName = 1 ;
 return sym(OR);
 } else {
 isName = 0;
 name = new NameType();
 name.qname = "or";
 return sym(NAME,name);
 { isName = 1 ; return sym(NE);
 { if (isName == 0) {
isName = 1 ;

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

/**
 * Same as next_token but also prints the token to standard out
 * for debugging.
 *
 * This code was contributed by Karl Meissner <meissnersd@yahoo.com>
 */
public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException, XPathParseException {
 java_cup.runtime.Symbol s = next_token();
 System.out.println( " --"+ yytext() + "--" + getTokenName(s.sym) + "--");
 return s;
}

代码示例来源: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: org.agmip.thirdparty/ximpleware-vtd-xml

Yylex scanner = null;
try {
 scanner = new Yylex( new java.io.FileReader(argv[i]) );
 while ( !scanner.zzAtEOF ) scanner.debug_next_token();

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

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

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

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

代码示例来源: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

/**
 * Same as next_token but also prints the token to standard out
 * for debugging.
 *
 * This code was contributed by Karl Meissner <meissnersd@yahoo.com>
 */
public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException, XPathParseException {
 java_cup.runtime.Symbol s = next_token();
 System.out.println( " --"+ yytext() + "--" + getTokenName(s.sym) + "--");
 return s;
}

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

if(RESULT.d<1)
  throw new XPathParseException("invalid index number for predicate",
      scanner.getOffset());
RESULT.type = Predicate.simple;
throw new XPathParseException(as.getAxisString()+" axis can't operate on"+
    " comment(), pi(), or text()",
  scanner.getOffset());

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