ancestorQuery is an XPath ancestor node query.(ancestor::*|ancestor-self::*)
| 144 | |
| 145 | // ancestorQuery is an XPath ancestor node query.(ancestor::*|ancestor-self::*) |
| 146 | type ancestorQuery struct { |
| 147 | name string |
| 148 | iterator func() NodeNavigator |
| 149 | table map[uint64]bool |
| 150 | pos int |
| 151 | |
| 152 | Self bool |
| 153 | Input query |
| 154 | Predicate func(NodeNavigator) bool |
| 155 | } |
| 156 | |
| 157 | func (a *ancestorQuery) Select(t iterator) NodeNavigator { |
| 158 | if a.table == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected