class Gammo::XPath::AST::Axis::Child
Public Instance Methods
strain(context, context_node, node_set)
click to toggle source
# File lib/gammo/xpath/ast/axis.rb, line 98 def strain(context, context_node, node_set) return if context_node.instance_of?(Gammo::Attribute) node = context_node.first_child while node node_set << node if node_test.match?(node) node = node.next_sibling end end