java.lang.Object
org.apache.jena.riot.lang.extra.LangParserBase
org.apache.jena.riot.lang.extra.javacc.TurtleJavacc
- All Implemented Interfaces:
TurtleJavaccConstants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.apache.jena.riot.lang.extra.javacc.TurtleJavaccConstants
A2Z, A2ZN, ANON, AT, BASE, BASE_OLD, BLANK_NODE_LABEL, BOM, COMMA, DATATYPE, DECIMAL, DEFAULT, DIGITS, DOT, DOUBLE, ECHAR, EOF, EXPONENT, FALSE, GT2, HEX, INTEGER, IRIref, KW_A, L_ANN, LANGTAG, LBRACE, LBRACKET, LPAREN, LT2, MINUS, 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, R_ANN, RBRACE, RBRACKET, RPAREN, SEMICOLON, SINGLE_LINE_COMMENT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, SURROGATE_PAIR, tokenImage, TRUE, UCHAR, UCHAR4, UCHAR8, UNKNOWN, VARNAME, WS, WSC
-
Constructor Summary
ConstructorDescriptionTurtleJavacc
(InputStream stream) Constructor with InputStream.TurtleJavacc
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingTurtleJavacc
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Annotation
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) final Token
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final void
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final void
final void
final void
Disable tracing.final void
Enable tracing.Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final String
iri()
final String
IRIREF()
final String
LangTag()
final org.apache.jena.graph.Node
Literal()
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
Object()
final void
ObjectList
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p) final void
parse()
final org.apache.jena.graph.Node
final void
PredicateObjectList
(org.apache.jena.graph.Node s) final String
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final void
final String
String()
final org.apache.jena.graph.Node
Subject()
final boolean
Trace enabled.final void
final org.apache.jena.graph.Node
Verb()
Methods inherited from class org.apache.jena.riot.lang.extra.LangParserBase
setDest, setProfile
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
TurtleJavacc
Constructor with InputStream. -
TurtleJavacc
Constructor with InputStream and supplied encoding -
TurtleJavacc
Constructor. -
TurtleJavacc
Constructor with generated Token Manager.
-
-
Method Details
-
parse
- Throws:
ParseException
-
ByteOrderMark
- Throws:
ParseException
-
Statement
- Throws:
ParseException
-
Directive
- Throws:
ParseException
-
DirectiveOld
- Throws:
ParseException
-
TriplesSameSubject
- Throws:
ParseException
-
PredicateObjectList
- Throws:
ParseException
-
ObjectList
public final void ObjectList(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p) throws ParseException - Throws:
ParseException
-
Annotation
public final void Annotation(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) throws ParseException - Throws:
ParseException
-
Verb
- Throws:
ParseException
-
Subject
- Throws:
ParseException
-
Predicate
- Throws:
ParseException
-
Object
- Throws:
ParseException
-
QuotedTripleSubject
- Throws:
ParseException
-
QuotedTripleObject
- Throws:
ParseException
-
QuotedTriple
- Throws:
ParseException
-
Literal
- Throws:
ParseException
-
BlankNodePropertyList
- Throws:
ParseException
-
Collection
- Throws:
ParseException
-
CollectionElt
- Throws:
ParseException
-
NumericLiteral
- Throws:
ParseException
-
RDFLiteral
- Throws:
ParseException
-
LangTag
- Throws:
ParseException
-
AnyDirective
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
String
- Throws:
ParseException
-
iri
- Throws:
ParseException
-
PrefixedName
- Throws:
ParseException
-
BlankNode
- Throws:
ParseException
-
IRIREF
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-