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

Method getNamespace

src/parser/ParserConfig.ts:152–155  ·  view source on GitHub ↗
(uri: string)

Source from the content-addressed store, hash-verified

150 }
151
152 getNamespace(uri: string) {
153 const ns = this.namespaceTbl[uri];
154 return(ns && ns.base);
155 }
156
157 addNamespace(nsBase: Namespace) {
158 let uri = (this.nsMapper && this.nsMapper(nsBase.uri)) || nsBase.uri;

Callers 2

registerTokensMethod · 0.95
jsxRegisterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected