org.eigenbase.sql.parser
Class SqlParserUtil.StringAndPos

java.lang.Object
  extended by org.eigenbase.sql.parser.SqlParserUtil.StringAndPos
Enclosing class:
SqlParserUtil

public static class SqlParserUtil.StringAndPos
extends Object

Contains a string, the offset of a token within the string, and a parser position containing the beginning and end line number.


Field Summary
 int cursor
           
 SqlParserPos pos
           
 String sql
           
 
Constructor Summary
SqlParserUtil.StringAndPos(String sql, int cursor, SqlParserPos pos)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sql

public final String sql

cursor

public final int cursor

pos

public final SqlParserPos pos
Constructor Detail

SqlParserUtil.StringAndPos

SqlParserUtil.StringAndPos(String sql,
                           int cursor,
                           SqlParserPos pos)