30 lines
428 B
Java
30 lines
428 B
Java
package org.apache.velocity.runtime.parser;
|
|
|
|
import java.io.IOException;
|
|
|
|
public interface CharStream {
|
|
char BeginToken() throws IOException;
|
|
|
|
void Done();
|
|
|
|
String GetImage();
|
|
|
|
char[] GetSuffix(int i);
|
|
|
|
void backup(int i);
|
|
|
|
int getBeginColumn();
|
|
|
|
int getBeginLine();
|
|
|
|
int getColumn();
|
|
|
|
int getEndColumn();
|
|
|
|
int getEndLine();
|
|
|
|
int getLine();
|
|
|
|
char readChar() throws IOException;
|
|
}
|