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

Function isStep

parse.go:152–158  ·  view source on GitHub ↗
(item itemType)

Source from the content-addressed store, hash-verified

150}
151
152func isStep(item itemType) bool {
153 switch item {
154 case itemDot, itemDotDot, itemAt, itemAxe, itemStar, itemName:
155 return true
156 }
157 return false
158}
159
160func checkItem(r *scanner, typ itemType) {
161 if r.typ != typ {

Callers 1

parseLocationPathMethod · 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…