MCPcopy Create free account
hub / github.com/denoland/std / getColonIndex

Method getColonIndex

xml/types.ts:391–391  ·  view source on GitHub ↗

* Get the colon index in the attribute name (-1 if no namespace prefix). * This allows consumers to parse namespace prefixes without string allocation.

(index: number)

Source from the content-addressed store, hash-verified

389 * This allows consumers to parse namespace prefixes without string allocation.
390 */
391 getColonIndex(index: number): number;
392
393 /**
394 * Get the resolved namespace URI for the attribute at the given index.

Callers 2

onStartTagCloseMethod · 0.65
onStartElementFunction · 0.65

Implementers 1

AttributeIteratorImplxml/_parser.ts

Calls

no outgoing calls

Tested by

no test coverage detected