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

Function isNodeType

parse.go:144–150  ·  view source on GitHub ↗
(r *scanner)

Source from the content-addressed store, hash-verified

142}
143
144func isNodeType(r *scanner) bool {
145 switch r.name {
146 case "node", "text", "processing-instruction", "comment":
147 return r.prefix == ""
148 }
149 return false
150}
151
152func isStep(item itemType) bool {
153 switch item {

Callers 3

isPrimaryExprFunction · 0.85
parseNodeTestMethod · 0.85
parsePrimaryExprMethod · 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…