本文整理了Java中jxl.biff.formula.Yylex
类的一些代码示例,展示了Yylex
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Yylex
类的具体详情如下:
包路径:jxl.biff.formula.Yylex
类名称:Yylex
[英]This class is a scanner generated by JFlex 1.4.1 on 24/10/09 14:10 from the specification file xlformula.flex
[中]这个类是JFlex1.4.1在2009年10月24日14:10从规范文件xlformula生成的扫描程序。弯曲
代码示例来源:origin: net.sourceforge.jexcelapi/jxl
/**
* 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: net.sourceforge.jexcelapi/jxl
Yylex lex = new Yylex(sr);
lex.setExternalSheet(externalSheet);
lex.setNameTable(nameTable);
try
ParseItem pi = lex.yylex();
while (pi != null)
pi = lex.yylex();
formula + " at char " + lex.getPos());
代码示例来源:origin: net.sourceforge.jexcelapi/jxl
zzPeek = false;
else {
boolean eof = zzRefill();
zzEndReadL = zzEndRead;
zzMarkedPosL = zzMarkedPos;
boolean eof = zzRefill();
{ return new IntegerValue(yytext()) ;
{ return new DoubleValue(yytext()) ;
{ return new ColumnRange3d(yytext(),externalSheet) ;
{ return new CellReference3d(yytext(),externalSheet) ;
{ return new BooleanValue(yytext());
{ yybegin(YYINITIAL); if (emptyString) return new StringValue("");
{ emptyString = true; yybegin(YYSTRING);
{ return new Area3d(yytext(),externalSheet) ;
{ return new CellReference(yytext()) ;
{ return new Area(yytext()) ;
{ return new ColumnRange(yytext());
代码示例来源:origin: com.hynnet/jxl
Yylex lex = new Yylex(sr);
lex.setExternalSheet(externalSheet);
lex.setNameTable(nameTable);
try
ParseItem pi = lex.yylex();
while (pi != null)
pi = lex.yylex();
formula + " at char " + lex.getPos());
代码示例来源:origin: com.hynnet/jxl
zzPeek = false;
else {
boolean eof = zzRefill();
zzEndReadL = zzEndRead;
zzMarkedPosL = zzMarkedPos;
boolean eof = zzRefill();
{ return new IntegerValue(yytext()) ;
{ return new DoubleValue(yytext()) ;
{ return new ColumnRange3d(yytext(),externalSheet) ;
{ return new CellReference3d(yytext(),externalSheet) ;
{ return new BooleanValue(yytext());
{ yybegin(YYINITIAL); if (emptyString) return new StringValue("");
{ emptyString = true; yybegin(YYSTRING);
{ return new Area3d(yytext(),externalSheet) ;
{ return new CellReference(yytext()) ;
{ return new Area(yytext()) ;
{ return new ColumnRange(yytext());
代码示例来源:origin: com.hynnet/jxl
/**
* 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;
}
内容来源于网络,如有侵权,请联系作者删除!