Skip to content

Commit b56f356

Browse files
committed
Add clarification comments
1 parent a89fc40 commit b56f356

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/N3Parser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export default class N3Parser {
2525
isLineMode = isNTriples || isNQuads;
2626
if (!(this._supportsNamedGraphs = !(isTurtle || isN3)))
2727
this._readPredicateOrNamedGraph = this._readPredicate;
28+
// Support triples in other graphs
2829
this._supportsQuads = !(isTurtle || isTriG || isNTriples || isN3);
30+
// Support nesting of triples
2931
this._supportsRDFStar = format === '' || /star|\*$/.test(format);
3032
// Disable relative IRIs in N-Triples or N-Quads mode
3133
if (isLineMode)

0 commit comments

Comments
 (0)