java.lang.Object
org.apache.jena.riot.lang.extra.LangParserBase
org.apache.jena.shex.parser.ParserShExC
org.apache.jena.shex.parser.javacc.ShExJavacc
- All Implemented Interfaces:
ShExJavaccConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from class org.apache.jena.shex.parser.ParserShExC
DEBUG_DEV, DEBUG_PARSE, DEBUG_STACKFields inherited from interface org.apache.jena.shex.parser.javacc.ShExJavaccConstants
A2Z, A2ZN, AMP, AND, AT, ATPNAME_LN, ATPNAME_NS, ATSTART, BANG, BASE, BLANK_NODE_LABEL, BNODE, BOM, CARAT, CLOSED, CODE_BLOCK, COMMA, DECIMAL, DEFAULT, DIGITS, DOLLAR, DOT, DOUBLE, ECHAR, EOF, EQUALS, EXPONENT, EXTERNAL, EXTRA, FALSE, FOCUS, FRACTIONDIGITS, HEX, IMPORT, INTEGER, IRI, IRIref, LANG_STRING_LITERAL_LONG1, LANG_STRING_LITERAL_LONG2, LANG_STRING_LITERAL1, LANG_STRING_LITERAL2, LANGTAG, LBRACE, LBRACKET, LENGTH, LITERAL, LPAREN, MAXEXCLUSIVE, MAXINCLUSIVE, MAXLENGTH, MINEXCLUSIVE, MININCLUSIVE, MINLENGTH, MINUS, ML_COMMENT_STATE, NONLITERAL, NOT, OR, PERCENT, PERCENT_CHAR, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, RDF_TYPE, REGEXP, REPEAT_RANGE, RPAREN, SEMI_COLON, SHAPE, SHAPE_CLASS, SLASH, STAR, START, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, SURROGATE_PAIR, TILDE, tokenImage, TOTALDIGITS, TRUE, UCHAR, UNKNOWN, USCORE, VARNAME, VBAR -
Constructor Summary
ConstructorsConstructorDescriptionShExJavacc(InputStream stream) Constructor with InputStream.ShExJavacc(InputStream stream, String encoding) Constructor with InputStream and supplied encodingShExJavacc(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.jena.graph.Node_label()final voidfinal voidbaseDecl()final Stringfinal org.apache.jena.graph.Nodefinal voidbracketedTripleExpr(org.apache.jena.graph.Node label) final Cardinalityfinal SemActcodeDecl()final Stringdatatype()final voidfinal voidDisable tracing.final voidEnable tracing.final voidextraPropertySet(List<org.apache.jena.graph.Node> extras) Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidfinal voidinclude()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal Stringiri()final voidiriRange()final StringIRIREF()final voidfinal voidfinal org.apache.jena.graph.Nodefinal voidfinal org.apache.jena.graph.Nodeliteral()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal Stringfinal org.apache.jena.graph.Nodefinal Stringfinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Nodefinal voidfinal Stringfinal org.apache.jena.graph.NodevoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final booleanfinal voidshapeAnd()final voidfinal voidfinal voidfinal voidfinal voidfinal org.apache.jena.graph.Nodefinal voidshapeMap()final voidshapeNot()final voidshapeOr()final voidfinal voidshapeRef()final org.apache.jena.graph.Nodefinal voidshexDoc()final voidfinal voidstart()final voidfinal voidfinal Stringstring()final voidfinal Stringfinal org.apache.jena.graph.Nodefinal booleanTrace enabled.final voidtripleConstraint(org.apache.jena.graph.Node label) final TripleExpressionfinal voidfinal voidfinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.Triplefinal voidfinal voidfinal voidfinal voidfinal voidvalueSet()final voidfinal voidxsFacet()Methods inherited from class org.apache.jena.shex.parser.ParserShExC
parseShapeMapFinish, parseShapeMapStart, parseShapesFinish, parseShapesStart, setSourceAndBaseMethods 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
-
ShExJavacc
Constructor with InputStream. -
ShExJavacc
Constructor with InputStream and supplied encoding -
ShExJavacc
Constructor. -
ShExJavacc
Constructor with generated Token Manager.
-
-
Method Details
-
UnitShapes
- Throws:
ParseException
-
shexDoc
- Throws:
ParseException
-
directive
- Throws:
ParseException
-
baseDecl
- Throws:
ParseException
-
prefixDecl
- Throws:
ParseException
-
importDecl
- Throws:
ParseException
-
notStartAction
- Throws:
ParseException
-
start
- Throws:
ParseException
-
startActions
- Throws:
ParseException
-
statement
- Throws:
ParseException
-
shapeExprDecl
- Throws:
ParseException
-
shapeExpression
- Throws:
ParseException
-
shapeOr
- Throws:
ParseException
-
shapeAnd
- Throws:
ParseException
-
shapeNot
- Throws:
ParseException
-
shapeAtom
- Throws:
ParseException
-
inlineShapeExpression
- Throws:
ParseException
-
inlineShapeOr
- Throws:
ParseException
-
inlineShapeAnd
- Throws:
ParseException
-
inlineShapeNot
- Throws:
ParseException
-
inlineShapeAtom
- Throws:
ParseException
-
shapeOrRef
- Throws:
ParseException
-
inlineShapeOrRef
- Throws:
ParseException
-
shapeRef
- Throws:
ParseException
-
litInlineNodeConstraint
- Throws:
ParseException
-
litOutlineNodeConstraint
- Throws:
ParseException
-
litNodeConstraint
- Throws:
ParseException
-
nonLitInlineNodeConstraint
- Throws:
ParseException
-
nonLitOutlineNodeConstraint
- Throws:
ParseException
-
nonLitNodeConstraint
- Throws:
ParseException
-
nonLiteralKind
- Throws:
ParseException
-
xsFacet
- Throws:
ParseException
-
stringFacet
- Throws:
ParseException
-
stringLength
- Throws:
ParseException
-
numericFacet
- Throws:
ParseException
-
numericRange
- Throws:
ParseException
-
numericLength
- Throws:
ParseException
-
shapeDefinition
- Throws:
ParseException
-
inlineShapeDefinition
- Throws:
ParseException
-
extraPropertySet
- Throws:
ParseException
-
tripleExpression
- Throws:
ParseException
-
tripleExpressionClause
- Throws:
ParseException
-
tripleExpressionClause_1
- Throws:
ParseException
-
unaryTripleExpr
- Throws:
ParseException
-
bracketedTripleExpr
- Throws:
ParseException
-
tripleConstraint
- Throws:
ParseException
-
cardinality
- Throws:
ParseException
-
senseFlags
- Throws:
ParseException
-
valueSet
- Throws:
ParseException
-
valueSetValue
- Throws:
ParseException
-
valueExclusion
- Throws:
ParseException
-
iriRange
- Throws:
ParseException
-
literalRange
- Throws:
ParseException
-
languageRange
- Throws:
ParseException
-
langRangeLANGTAG
- Throws:
ParseException
-
langRangeAT
- Throws:
ParseException
-
include
- Throws:
ParseException
-
annotation
- Throws:
ParseException
-
semanticActions
- Throws:
ParseException
-
codeDecl
- Throws:
ParseException
-
literal
- Throws:
ParseException
-
predicate
- Throws:
ParseException
-
shapeExprLabel
- Throws:
ParseException
-
tripleExprLabel
- Throws:
ParseException
-
_label
- Throws:
ParseException
-
booleanLiteral
- Throws:
ParseException
-
numericLiteral
- Throws:
ParseException
-
rdfLiteral
- Throws:
ParseException
-
datatype
- Throws:
ParseException
-
string
- Throws:
ParseException
-
langString
- Throws:
ParseException
-
iri
- Throws:
ParseException
-
blankNode
- Throws:
ParseException
-
prefixedName
- Throws:
ParseException
-
IRIREF
- Throws:
ParseException
-
UnitShapeMap
- Throws:
ParseException
-
shexMapDoc
- Throws:
ParseException
-
shapeMap
- Throws:
ParseException
-
shapeAssociation
- Throws:
ParseException
-
subjectTerm
- Throws:
ParseException
-
objectTerm
- Throws:
ParseException
-
triplePattern
- Throws:
ParseException
-
shapeSpec
- 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.
-