MCPcopy Index your code
hub / github.com/marijnh/Eloquent-JavaScript / nextTag

Function nextTag

src/transform.mjs:88–90  ·  view source on GitHub ↗
(tokens, i)

Source from the content-addressed store, hash-verified

86}
87
88function nextTag(tokens, i) {
89 for (let j = i + 1; j < tokens.length; j++) if (tokens[j].tag) return tokens[j];
90}
91
92export function transformTokens(tokens, options) {
93 let meta = {}, result = []

Callers 1

transformTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected