org
.
chelona
NQuadParser
Related Docs:
object NQuadParser
|
package chelona
class
NQuadParser
extends
NTriplesParser
with
NQAST
Linear Supertypes
NQAST
,
NQuadAST
,
NTriplesParser
,
NTAST
,
NTripleAST
,
RDFASTType
,
StringBuilding
,
Parser
,
RuleDSL
,
RuleDSLActions
,
RuleDSLCombinators
,
RuleDSLBasics
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
NQuadParser
NQAST
NQuadAST
NTriplesParser
NTAST
NTripleAST
RDFASTType
StringBuilding
Parser
RuleDSL
RuleDSLActions
RuleDSLCombinators
RuleDSLBasics
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
NQuadParser
(
input:
ParserInput
,
renderStatement: (
NTripleAST
) ⇒
Int
,
validate:
Boolean
=
false
,
basePath:
String
=
"http://chelona.org"
,
label:
String
=
""
)
Type Members
case class
ASTBlankLine
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTBlankNodeLabel
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTComment
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTGraphLabel
(
rule:
NQuadAST.NTripleType
)
extends
NQuadAST
with
Product
with
Serializable
Definition Classes
NQuadAST
case class
ASTIriRef
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTLangTag
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTLiteral
(
token:
NTripleType
,
postfix:
Option
[
NTripleType
]
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTNTriplesDoc
(
triple:
Option
[
NTripleType
]
,
triples:
Seq
[
NTripleType
]
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTObject
(
rule:
NTripleType
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTPredicate
(
rule:
NTripleType
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTStatement
(
subject:
NQuadAST.NTripleType
,
predicate:
NQuadAST.NTripleType
,
object:
NQuadAST.NTripleType
,
graph:
Option
[
NQuadAST.NTripleType
]
,
comment:
Option
[
NQuadAST.NTripleType
]
)
extends
NQuadAST
with
Product
with
Serializable
Definition Classes
NQuadAST
case class
ASTStringLiteralQuote
(
token:
String
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTSubject
(
rule:
NTripleType
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTTriple
(
subject:
NTripleType
,
predicate:
NTripleType
,
object:
NTripleType
,
comment:
Option
[
ASTComment
]
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
case class
ASTTripleComment
(
rule:
NTripleType
)
extends
NTripleAST
with
Product
with
Serializable
Definition Classes
NTripleAST
sealed
trait
ActionOperator
[
I <:
HList
,
O <:
HList
,
Ops
]
extends
AnyRef
Definition Classes
RuleDSLActions
sealed
trait
CharRangeSupport
extends
AnyRef
Definition Classes
RuleDSLBasics
type
NQuadType
=
NQuadAST
Definition Classes
NQuadAST
sealed
trait
NTimes
extends
AnyRef
Definition Classes
RuleDSLCombinators
type
NTripleType
=
NTripleAST
Definition Classes
NTripleAST
class
TracingBubbleException
extends
RuntimeException
with
NoStackTrace
Definition Classes
Parser
trait
WithSeparatedBy
[
I <:
HList
,
O <:
HList
]
extends
AnyRef
Definition Classes
RuleDSLCombinators
class
__SubParserInput
extends
ParserInput
Attributes
protected
Definition Classes
Parser
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
&
(
r:
Rule
[_, _]
)
:
Rule0
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
ANY
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
BLANK_NODE_LABEL
:
Rule
[
HNil
,
::
[
ASTBlankNodeLabel
,
HNil
]]
Definition Classes
NTriplesParser
def
ECHAR
:
Rule
[
HNil
,
HNil
]
Definition Classes
NTriplesParser
def
EOI
:
Char
Definition Classes
RuleDSLBasics
def
EOL
:
Rule
[
HNil
,
HNil
]
Definition Classes
NTriplesParser
def
IRIREF
:
Rule
[
HNil
,
::
[
ASTIriRef
,
HNil
]]
Definition Classes
NTriplesParser
def
LANGTAG
:
Rule
[
HNil
,
::
[
ASTLangTag
,
HNil
]]
Definition Classes
NTriplesParser
def
MATCH
:
Rule0
Definition Classes
RuleDSLBasics
def
MISMATCH
[
I <:
HList
,
O <:
HList
]
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLBasics
def
MISMATCH0
:
Rule0
Definition Classes
RuleDSLBasics
def
STRING_LITERAL_QUOTE
:
Rule
[
HNil
,
::
[
ASTStringLiteralQuote
,
HNil
]]
Definition Classes
NTriplesParser
def
UCHAR
(
flag:
Boolean
)
:
Rule
[
HNil
,
HNil
]
Definition Classes
NTriplesParser
def
__advance
()
:
Boolean
Definition Classes
Parser
def
__bubbleUp
(
prefix:
List
[
NonTerminal
]
,
terminal:
Terminal
)
:
Nothing
Definition Classes
Parser
def
__bubbleUp
(
terminal:
Terminal
)
:
Nothing
Definition Classes
Parser
def
__enterAtomic
(
start:
Int
)
:
Boolean
Definition Classes
Parser
def
__enterNotPredicate
()
:
AnyRef
Definition Classes
Parser
def
__enterQuiet
()
:
Int
Definition Classes
Parser
def
__exitAtomic
(
saved:
Boolean
)
:
Unit
Definition Classes
Parser
def
__exitNotPredicate
(
saved:
AnyRef
)
:
Unit
Definition Classes
Parser
def
__exitQuiet
(
saved:
Int
)
:
Unit
Definition Classes
Parser
def
__hardFail
(
expected:
String
)
:
Nothing
Definition Classes
Parser
def
__inErrorAnalysis
:
Boolean
Definition Classes
Parser
final
def
__matchAnyOf
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchIgnoreCaseString
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchIgnoreCaseStringWrapped
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
def
__matchMap
(
m:
Map
[
String
,
Any
]
)
:
Boolean
Definition Classes
Parser
def
__matchMapWrapped
(
m:
Map
[
String
,
Any
]
)
:
Boolean
Definition Classes
Parser
final
def
__matchNoneOf
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchString
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchStringWrapped
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
def
__push
(
value:
Any
)
:
Boolean
Definition Classes
Parser
def
__registerMismatch
()
:
Boolean
Definition Classes
Parser
def
__restoreState
(
mark:
Mark
)
:
Unit
Definition Classes
Parser
def
__run
[
L <:
HList
]
(
rule: ⇒
RuleN
[
L
]
)
(
implicit
scheme:
DeliveryScheme
[
L
]
)
:
Result
Definition Classes
Parser
def
__saveState
:
Mark
Definition Classes
Parser
def
__updateMaxCursor
()
:
Boolean
Definition Classes
Parser
def
anyOf
(
chars:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
appendSB
(
s:
String
)
:
Rule0
Definition Classes
StringBuilding
def
appendSB
(
c:
Char
)
:
Rule0
Definition Classes
StringBuilding
def
appendSB
(
offset:
Int
)
:
Rule0
Definition Classes
StringBuilding
def
appendSB
()
:
Rule0
Definition Classes
StringBuilding
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
atomic
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
val
basePath
:
String
Definition Classes
NTriplesParser
def
capture
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
p:
Prepend
[
O
,
::
[
String
,
HNil
]]
)
:
Rule
[
I
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
implicit
def
ch
(
c:
Char
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
charAt
(
offset:
Int
)
:
Char
Definition Classes
Parser
def
charAtRC
(
offset:
Int
)
:
Char
Definition Classes
Parser
def
clearSB
()
:
Rule0
Definition Classes
StringBuilding
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
comment
:
Rule
[
HNil
,
::
[
ASTComment
,
HNil
]]
Definition Classes
NTriplesParser
def
copyStateFrom
(
other:
Parser
,
offset:
Int
)
:
Unit
Definition Classes
Parser
def
cursor
:
Int
Definition Classes
Parser
def
cursorChar
:
Char
Definition Classes
Parser
def
drop
[
T
]
(
implicit
h:
HListable
[
T
]
)
:
PopRule
[
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
errorTraceCollectionLimit
:
Int
Definition Classes
Parser
def
fail
(
expected:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
def
failX
[
I <:
HList
,
O <:
HList
]
(
expected:
String
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLBasics
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
formatError
(
error:
ParseError
,
formatter:
ErrorFormatter
)
:
String
Definition Classes
Parser
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
graphLabel
:
Rule
[
HNil
,
::
[
ASTGraphLabel
,
HNil
]]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
ignoreCase
(
s:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
ignoreCase
(
c:
Char
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
val
input
:
ParserInput
Definition Classes
NTriplesParser
→ Parser
implicit
def
int2NTimes
(
i:
Int
)
:
NTimes
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
label
:
String
Definition Classes
NTriplesParser
def
lastChar
:
Char
Definition Classes
Parser
def
literal
:
Rule
[
HNil
,
::
[
ASTLiteral
,
HNil
]]
Definition Classes
NTriplesParser
macro
def
namedRule
[
I <:
HList
,
O <:
HList
]
(
name:
String
)
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
Parser
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
noneOf
(
chars:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
nquadsDoc
:
Rule
[
HNil
,
::
[
Int
,
HNil
]]
def
ntriplesDoc
:
Rule1
[
Int
]
Definition Classes
NTriplesParser
def
object
:
Rule
[
HNil
,
::
[
ASTObject
,
HNil
]]
Definition Classes
NTriplesParser
def
oneOrMore
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Seq
,
I
,
O
]
)
:
Rule
[
In
,
StrictOut
] with
Repeated
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
optional
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Option
,
I
,
O
]
)
:
Rule
[
In
,
OptionalOut
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
predicate
:
Rule1
[
ASTPredicate
]
Definition Classes
NTriplesParser
implicit
def
predicate
(
p:
CharPredicate
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
prependSB
(
s:
String
)
:
Rule0
Definition Classes
StringBuilding
def
prependSB
(
c:
Char
)
:
Rule0
Definition Classes
StringBuilding
def
prependSB
(
offset:
Int
)
:
Rule0
Definition Classes
StringBuilding
def
prependSB
()
:
Rule0
Definition Classes
StringBuilding
def
push
[
T
]
(
value:
T
)
(
implicit
h:
HListable
[
T
]
)
:
RuleN
[
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
quiet
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
implicit
def
range2NTimes
(
range:
Range
)
:
NTimes
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
val
renderStatement
: (
NTripleAST
) ⇒
Int
Definition Classes
NTriplesParser
macro
def
rule
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
Parser
implicit
def
rule2ActionOperator
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
ops:
ActionOps
[
I
,
O
]
)
:
ActionOperator
[
I
,
O
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
implicit
def
rule2WithSeparatedBy
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
] with
Repeated
)
:
WithSeparatedBy
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
run
[
T
]
(
arg:
T
)
(
implicit
rr:
RunResult
[
T
]
)
:
Out
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
runSubParser
[
I <:
HList
,
O <:
HList
]
(
f: (
ParserInput
) ⇒
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
val
sb
:
StringBuilder
Attributes
protected
Definition Classes
StringBuilding
def
setSB
(
s:
String
)
:
Rule0
Definition Classes
StringBuilding
def
statement
:
Rule1
[
NTripleType
]
implicit
def
str
(
s:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
implicit
def
str2CharRangeSupport
(
s:
String
)
:
CharRangeSupport
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
subject
:
Rule
[
HNil
,
::
[
ASTSubject
,
HNil
]]
Definition Classes
NTriplesParser
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
test
(
condition:
Boolean
)
:
Rule0
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
triple
:
Rule1
[
NTripleAST
]
Definition Classes
NTriplesParser
implicit
def
valueMap
[
T
]
(
m:
Map
[
String
,
T
]
)
(
implicit
h:
HListable
[
T
]
)
:
RuleN
[
Out
]
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
valueStack
:
ValueStack
Definition Classes
Parser
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
ws
:
Rule
[
HNil
,
HNil
]
Definition Classes
NTriplesParser
def
zeroOrMore
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Seq
,
I
,
O
]
)
:
Rule
[
In
,
OptionalOut
] with
Repeated
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
Inherited from
NQAST
Inherited from
NQuadAST
Inherited from
NTriplesParser
Inherited from
NTAST
Inherited from
NTripleAST
Inherited from
RDFASTType
Inherited from
StringBuilding
Inherited from
Parser
Inherited from
RuleDSL
Inherited from
RuleDSLActions
Inherited from
RuleDSLCombinators
Inherited from
RuleDSLBasics
Inherited from
AnyRef
Inherited from
Any
Ungrouped