public final class ASCII_CharStream extends Object implements com.steadystate.css.parser.CharStream
Modifier and Type | Field and Description |
---|---|
int |
bufpos |
static boolean |
staticFlag |
Constructor and Description |
---|
ASCII_CharStream(InputStream dstream,
int startline,
int startcolumn) |
ASCII_CharStream(InputStream dstream,
int startline,
int startcolumn,
int buffersize) |
ASCII_CharStream(Reader dstream,
int startline,
int startcolumn) |
ASCII_CharStream(Reader dstream,
int startline,
int startcolumn,
int buffersize) |
Modifier and Type | Method and Description |
---|---|
void |
adjustBeginLineColumn(int newLine,
int newCol)
Method to adjust line and column numbers for the start of a token.
|
void |
backup(int amount) |
char |
BeginToken() |
void |
Done() |
int |
getBeginColumn() |
int |
getBeginLine() |
int |
getColumn()
Deprecated.
|
int |
getEndColumn() |
int |
getEndLine() |
String |
GetImage() |
int |
getLine()
Deprecated.
|
char[] |
GetSuffix(int len) |
char |
readChar() |
void |
ReInit(InputStream dstream,
int startline,
int startcolumn) |
void |
ReInit(InputStream dstream,
int startline,
int startcolumn,
int buffersize) |
void |
ReInit(Reader dstream,
int startline,
int startcolumn) |
void |
ReInit(Reader dstream,
int startline,
int startcolumn,
int buffersize) |
public static final boolean staticFlag
public int bufpos
public ASCII_CharStream(Reader dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(Reader dstream, int startline, int startcolumn)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn)
public final char BeginToken() throws IOException
BeginToken
in interface com.steadystate.css.parser.CharStream
IOException
public final char readChar() throws IOException
readChar
in interface com.steadystate.css.parser.CharStream
IOException
public final int getColumn()
getColumn
in interface com.steadystate.css.parser.CharStream
getEndColumn()
public final int getLine()
getLine
in interface com.steadystate.css.parser.CharStream
getEndLine()
public final int getEndColumn()
getEndColumn
in interface com.steadystate.css.parser.CharStream
public final int getEndLine()
getEndLine
in interface com.steadystate.css.parser.CharStream
public final int getBeginColumn()
getBeginColumn
in interface com.steadystate.css.parser.CharStream
public final int getBeginLine()
getBeginLine
in interface com.steadystate.css.parser.CharStream
public final void backup(int amount)
backup
in interface com.steadystate.css.parser.CharStream
public void ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
public void ReInit(Reader dstream, int startline, int startcolumn)
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream, int startline, int startcolumn)
public final String GetImage()
GetImage
in interface com.steadystate.css.parser.CharStream
public final char[] GetSuffix(int len)
GetSuffix
in interface com.steadystate.css.parser.CharStream
public void Done()
Done
in interface com.steadystate.css.parser.CharStream
public void adjustBeginLineColumn(int newLine, int newCol)
Copyright © 2014. All rights reserved.