Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charto/cxml
/ addElement
Method
addElement
src/parser/ParserNamespace.ts:49–51 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
47
}
48
49
addElement(name: string) {
50
return
(this.elementSet.createToken(name, this));
51
}
52
53
addAttribute(name: string) {
54
return
(this.attributeSet.createToken(name, this));
Callers
4
constructor
Method · 0.95
getElementTokens
Method · 0.45
resolve
Method · 0.45
parseCodeBuffer
Method · 0.45
Calls
1
createToken
Method · 0.45
Tested by
no test coverage detected