MCPcopy Create free account
hub / github.com/charto/cxml / updateNamespaces

Method updateNamespaces

src/parser/ParserConfig.ts:196–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 updateNamespaces() {
197 const list = this.namespaceList;
198 const len = list.length;
199
200 for(let num = 0; num < len; ++num) {
201 if(list[num]) list[num].registerNative();
202 }
203 }
204
205 bindPrefix(prefix: InternalToken, uri: InternalToken) {
206 this.native.bindPrefix(prefix.id, uri.id);

Callers 1

parseCodeBufferMethod · 0.80

Calls 1

registerNativeMethod · 0.80

Tested by

no test coverage detected