MCPcopy Create free account
hub / github.com/tailwindlabs/tailwindcss / current

Function current

packages/tailwindcss/src/selector-parser.ts:179–181  ·  view source on GitHub ↗
(nodes = target)

Source from the content-addressed store, hash-verified

177 let peekChar
178
179 function current(nodes = target): SelectorAstNode {
180 return nodes.length === 1 ? nodes[0] : containsCombinator ? complex(nodes) : compound(nodes)
181 }
182
183 function append(node: SelectorAstNode) {
184 let existing = target[target.length - 1]

Callers 1

parseFunction · 0.70

Calls 2

complexFunction · 0.85
compoundFunction · 0.85

Tested by

no test coverage detected