Module: XPath
- Defined in:
- lib/xml/xpath.rb
Overview
xpath.rb : generated by racc
Defined Under Namespace
Modules: XPathObject Classes: AncestorIterator, AncestorOrSelfIterator, ArgumentError, AttributeIterator, AxisIterator, ChildIterator, CompileError, Compiler, Context, DescendantIterator, DescendantOrSelfIterator, Error, FollowingIterator, FollowingSiblingIterator, InvalidOperation, NameError, NamespaceIterator, NullNodeAdapter, ParentIterator, PrecedingIterator, PrecedingSiblingIterator, ReverseAxisIterator, SelfIterator, TransparentNodeVisitor, TypeError, XPathBoolean, XPathFalseClass, XPathNodeSet, XPathNumber, XPathProc, XPathString, XPathTrueClass
Constant Summary collapse
- XPathTrue =
XPathTrueClass.instance
- XPathFalse =
XPathFalseClass.instance
Class Method Summary collapse
Class Method Details
.compile(src, pattern = false) ⇒ Object
494 495 496 497 |
# File 'lib/xml/xpath.rb', line 494 def self.compile(src, pattern = false) @compiler = Compiler.new unless defined? @compiler @compiler.compile src, pattern end |