MCPcopy Create free account
hub / github.com/AICoderTudou/claude-code-tudou / parseTestNegatablePrimary

Function parseTestNegatablePrimary

src/utils/bash/bashParser.ts:3791–3819  ·  view source on GitHub ↗

* Parse `!`-negated or test-operator (`-f`) or parenthesized primary — but NOT * a binary comparison. Used as LHS of binary_expression so `! x =~ y` binds * `!` to `x` only, not the whole `x =~ y`.

(
  P: ParseState,
  closer: string,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseTestBinaryFunction · 0.85

Calls 7

skipBlanksFunction · 0.85
advanceFunction · 0.85
mkFunction · 0.85
isIdentStartFunction · 0.85
isIdentCharFunction · 0.85
parseTestPrimaryFunction · 0.85
peekFunction · 0.70

Tested by

no test coverage detected