public class IsiAmrParser extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT
Lexical state.
|
static int |
DOUBLE_QUOTED_TOKEN
RegularExpression Id.
|
static int |
EDGE
RegularExpression Id.
|
static int |
EOF
End of File.
|
de.up.ling.irtg.codec.isiamr.Token |
jj_nt
Next token.
|
static int |
NAME
RegularExpression Id.
|
de.up.ling.irtg.codec.isiamr.Token |
token
Current token.
|
de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager |
token_source
Generated Token Manager.
|
static String[] |
tokenImage
Literal token values.
|
Constructor and Description |
---|
IsiAmrParser(InputStream stream)
Constructor with InputStream.
|
IsiAmrParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
IsiAmrParser(de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager tm)
Constructor with generated Token Manager.
|
IsiAmrParser(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disable_tracing()
Disable tracing.
|
String |
edge() |
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
de.up.ling.irtg.codec.isiamr.Token |
getNextToken()
Get the next Token.
|
de.up.ling.irtg.codec.isiamr.Token |
getToken(int index)
Get the specific Token.
|
void |
graph() |
GraphNode |
node() |
static SGraph |
parse(Reader reader)
Parses the s-graph represented as a string in
reader |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
String |
token() |
List<String> |
tokenList() |
public de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager token_source
public de.up.ling.irtg.codec.isiamr.Token token
public de.up.ling.irtg.codec.isiamr.Token jj_nt
public static final int EOF
public static final int NAME
public static final int EDGE
public static final int DOUBLE_QUOTED_TOKEN
public static final int DEFAULT
public static final String[] tokenImage
public IsiAmrParser(InputStream stream)
public IsiAmrParser(InputStream stream, String encoding)
public IsiAmrParser(Reader stream)
public IsiAmrParser(de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager tm)
public static SGraph parse(Reader reader) throws ParseException
reader
ParseException
public final void graph() throws ParseException
ParseException
public final GraphNode node() throws ParseException
ParseException
public final List<String> tokenList() throws ParseException
ParseException
public final String token() throws ParseException
ParseException
public final String edge() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(de.up.ling.irtg.codec.isiamr.IsiAmrParserTokenManager tm)
public final de.up.ling.irtg.codec.isiamr.Token getNextToken()
public final de.up.ling.irtg.codec.isiamr.Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2017. All rights reserved.