1 21 22 package org.apache.derby.impl.sql.compile; 23 24 38 39 public interface CharStream { 40 41 46 char readChar() throws java.io.IOException ; 47 48 53 int getColumn(); 54 55 60 int getLine(); 61 62 66 int getEndColumn(); 67 68 72 int getEndLine(); 73 74 78 int getBeginColumn(); 79 80 84 int getBeginLine(); 85 86 92 void backup(int amount); 93 94 99 char BeginToken() throws java.io.IOException ; 100 101 107 String GetImage(); 108 109 120 char[] GetSuffix(int len); 121 122 128 void Done(); 129 130 131 abstract int getBeginOffset(); 134 135 abstract int getEndOffset(); 138 139 abstract void ReInit(java.io.Reader dstream, 141 int startline, int startcolumn, int buffersize); 142 143 abstract void ReInit(java.io.Reader dstream, int startline, int startcolumn); 144 145 abstract void ReInit(java.io.InputStream dstream, int startline, 146 int startcolumn, int buffersize); 147 148 abstract void ReInit(java.io.InputStream dstream, int startline, 149 int startcolumn); 150 151 } 152 | Popular Tags |