public class TurtleJavacc extends TurtleParserBase implements TurtleJavaccConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
TurtleJavaccTokenManager |
token_source
Generated Token Manager.
|
ParserLoggerNameA2Z, A2ZN, ANON, AT, BASE, BASE_OLD, BLANK_NODE_LABEL, BOM, COMMA, DATATYPE, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DIGITS, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, ECHAR, EOF, EXPONENT, FALSE, HEX, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, IRIref, KW_A, LANGTAG, LBRACE, LBRACKET, LPAREN, MINUS, NIL, PERCENT, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, PREFIX_OLD, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, RPAREN, SEMICOLON, SINGLE_LINE_COMMENT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, tokenImage, TRUE, UCHAR, UNKNOWN, VARNAME, WS, WSC| Constructor and Description |
|---|
TurtleJavacc(InputStream stream)
Constructor with InputStream.
|
TurtleJavacc(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
TurtleJavacc(Reader stream)
Constructor.
|
TurtleJavacc(TurtleJavaccTokenManager tm)
Constructor with generated Token Manager.
|
checkIRI, emitTriple, getPrologue, listFinish, listStart, listTriple, setBase, setDest, setPrefix, setProfile, setPrologue, stripChars, stripQuotes, stripQuotes3, unescapeStrthrowParseException, throwParseException, unescape, unescapePName, unescapeStrpublic TurtleJavaccTokenManager token_source
public Token token
public Token jj_nt
public TurtleJavacc(InputStream stream)
public TurtleJavacc(InputStream stream, String encoding)
public TurtleJavacc(Reader stream)
public TurtleJavacc(TurtleJavaccTokenManager tm)
public final void parse()
throws ParseException
ParseExceptionpublic final void ByteOrderMark()
throws ParseException
ParseExceptionpublic final void Statement()
throws ParseException
ParseExceptionpublic final void Directive()
throws ParseException
ParseExceptionpublic final void DirectiveOld()
throws ParseException
ParseExceptionpublic final Token AnyDirective() throws ParseException
ParseExceptionpublic final void TriplesSameSubject()
throws ParseException
ParseExceptionpublic final void PropertyList(Node s) throws ParseException
ParseExceptionpublic final void PropertyListNotEmpty(Node s) throws ParseException
ParseExceptionpublic final void ObjectList(Node s, Node p) throws ParseException
ParseExceptionpublic final void Object(Node s, Node p) throws ParseException
ParseExceptionpublic final Node Verb() throws ParseException
ParseExceptionpublic final Node TriplesNode() throws ParseException
ParseExceptionpublic final Node BlankNodePropertyList() throws ParseException
ParseExceptionpublic final Node Collection() throws ParseException
ParseExceptionpublic final Node SubjectNode() throws ParseException
ParseExceptionpublic final Node GraphNode() throws ParseException
ParseExceptionpublic final Node GraphTerm() throws ParseException
ParseExceptionpublic final Node RDFLiteral() throws ParseException
ParseExceptionpublic final String LangTag() throws ParseException
ParseExceptionpublic final Node NumericLiteral() throws ParseException
ParseExceptionpublic final Node NumericLiteralUnsigned() throws ParseException
ParseExceptionpublic final Node NumericLiteralPositive() throws ParseException
ParseExceptionpublic final Node NumericLiteralNegative() throws ParseException
ParseExceptionpublic final Node BooleanLiteral() throws ParseException
ParseExceptionpublic final String String() throws ParseException
ParseExceptionpublic final String iri() throws ParseException
ParseExceptionpublic final String PrefixedName() throws ParseException
ParseExceptionpublic final Node BlankNode() throws ParseException
ParseExceptionpublic final String IRIREF() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(TurtleJavaccTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Licenced under the Apache License, Version 2.0