MCPcopy Create free account
hub / github.com/antchfx/xpath / testOp

Function testOp

parse.go:130–132  ·  view source on GitHub ↗

testOp reports whether current item name is an operand op.

(r *scanner, op string)

Source from the content-addressed store, hash-verified

128
129// testOp reports whether current item name is an operand op.
130func testOp(r *scanner, op string) bool {
131 return r.typ == itemName && r.prefix == "" && r.name == op
132}
133
134func isPrimaryExpr(r *scanner) bool {
135 switch r.typ {

Callers 3

parseOrExprMethod · 0.85
parseAndExprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…