public class Lexer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN |
static int |
COMMA |
static int |
EOF |
static int |
FLOAT |
static int |
IDENT |
static int |
INTEGER |
static int |
LPAREN |
static int |
MULTI_STRING |
static int |
RPAREN |
static int |
STRING |
static int |
TAG |
Modifier and Type | Method and Description |
---|---|
int |
getLine() |
Token |
getToken() |
Token |
parseIdent() |
Token |
parseMultiString() |
Token |
parseNumber() |
Token |
parseString() |
void |
ungetToken(Token t) |
public static final int LPAREN
public static final int RPAREN
public static final int IDENT
public static final int INTEGER
public static final int FLOAT
public static final int BOOLEAN
public static final int TAG
public static final int STRING
public static final int MULTI_STRING
public static final int COMMA
public static final int EOF
public Lexer(Reader r)
public Token parseNumber() throws IOException
IOException
public Token parseString() throws IOException
IOException
public Token parseMultiString() throws IOException
IOException
public Token parseIdent() throws IOException
IOException
public void ungetToken(Token t)
public Token getToken()
public int getLine()
Copyright © 2018 BITPlan GmbH. All rights reserved.