public class Lexer extends Object
Constructor and Description |
---|
Lexer(String str,
Charset charset) |
Lexer(String str,
String charset) |
Modifier and Type | Method and Description |
---|---|
int |
getCol() |
int |
getRow() |
String[] |
getScriptLines() |
boolean |
getShowWarnings() |
Token |
getToken() |
List<Warning> |
getWarnings() |
static void |
main(String[] ar) |
void |
setWarnings(boolean w) |
public Lexer(String str, Charset charset) throws IOException
IOException
public Lexer(String str, String charset) throws IOException
IOException
public int getRow()
public int getCol()
public boolean getShowWarnings()
public String[] getScriptLines()
public Token getToken() throws IOException, LexerException
IOException
LexerException
public void setWarnings(boolean w)
public static void main(String[] ar) throws IOException, LexerException
IOException
LexerException