Skip to content

Commit bdd96e1

Browse files
blake-regaliaelf-pavlik
authored andcommitted
Update interface-spec.html
Incorporate `optional .. ?` into IDL signature.
1 parent e011d0a commit bdd96e1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h3><dfn>Term</dfn> interface</h3>
131131
interface Term {
132132
attribute string termType;
133133
attribute string value;
134-
boolean equals(Term other);
134+
boolean equals(optional Term? other);
135135
};
136136
</pre>
137137

@@ -170,7 +170,7 @@ <h3><dfn>NamedNode</dfn> interface</h3>
170170
interface NamedNode : Term {
171171
attribute string termType;
172172
attribute string value;
173-
boolean equals(Term other);
173+
boolean equals(optional Term? other);
174174
};
175175
</pre>
176176

@@ -195,7 +195,7 @@ <h3><dfn>BlankNode</dfn> interface</h3>
195195
interface BlankNode : Term {
196196
attribute string termType;
197197
attribute string value;
198-
boolean equals(Term other);
198+
boolean equals(optional Term? other);
199199
};
200200
</pre>
201201

@@ -224,7 +224,7 @@ <h3><dfn>Literal</dfn> interface</h3>
224224
attribute string value;
225225
attribute string language;
226226
attribute NamedNode datatype;
227-
boolean equals(Term other);
227+
boolean equals(optional Term? other);
228228
};
229229
</pre>
230230

@@ -265,7 +265,7 @@ <h3><dfn>Variable</dfn> interface</h3>
265265
interface Variable : Term {
266266
attribute string termType;
267267
attribute string value;
268-
boolean equals(Term other);
268+
boolean equals(optional Term? other);
269269
};
270270
</pre>
271271

@@ -291,7 +291,7 @@ <h3><dfn>DefaultGraph</dfn> interface</h3>
291291
interface DefaultGraph : Term {
292292
attribute string termType;
293293
attribute string value;
294-
boolean equals(Term other);
294+
boolean equals(optional Term? other);
295295
};
296296
</pre>
297297

@@ -321,7 +321,7 @@ <h3><dfn>Quad</dfn> interface</h3>
321321
attribute Term predicate;
322322
attribute Term object;
323323
attribute Term graph;
324-
boolean equals(Quad other);
324+
boolean equals(optional Quad? other);
325325
};
326326
</pre>
327327

0 commit comments

Comments
 (0)