Class: XPathParser (REXML)

Overview
Module Structure
Class Hierarchy
Constants
XPathParser::LITERAL
XPathParser::ALL
XPathParser::ELEMENTS
Instance Methods
XPathParser#initialize / 1
XPathParser#namespaces= / 1
XPathParser#variables= / 1
XPathParser#parse
XPathParser#get_first
XPathParser#predicate
XPathParser#[]= / 2
XPathParser#first / 2
XPathParser#match / 2
XPathParser#get_namespace / 2
XPathParser#expr / 3
XPathParser#descendant_or_self / 2
XPathParser#d_o_s / 3
XPathParser#document_order / 1
XPathParser#recurse / 2
XPathParser#preceding / 1
XPathParser#preceding_node_of / 1
XPathParser#following / 1
XPathParser#following_node_of / 1
XPathParser#next_sibling_node / 1
XPathParser#norm
XPathParser#equality_relational_compare / 3
XPathParser#compare
is a submodule of
module: REXML   
includes
  XMLTokens ( REXML )
inherits from
  Object ( Builtin-Module )
has properties
constant: LITERAL   
method: initialize / 1   
method: namespaces= / 1   
method: variables= / 1   
method: parse   
method: get_first   
method: predicate   
method: []= / 2   
method: first / 2   
method: match / 2   
method: get_namespace / 2   
constant: ALL   
constant: ELEMENTS   
method: expr / 3   
method: descendant_or_self / 2   
method: d_o_s / 3   
method: document_order / 1   
method: recurse / 2   
method: preceding / 1   
method: preceding_node_of / 1   
method: following / 1   
method: following_node_of / 1   
method: next_sibling_node / 1   
method: norm   
method: equality_relational_compare / 3   
method: compare   
is defined at
#35 in rexml/xpath_parser.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: REXML
module: XMLTokens     
class: XPathParser     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
XPathParser ( REXML )
includes
  XMLTokens ( REXML )
has properties
constant: LITERAL   
method: initialize / 1   
method: namespaces= / 1   
method: variables= / 1   
method: parse   
method: get_first   
method: predicate   
method: []= / 2   
method: first / 2   
method: match / 2   
method: get_namespace / 2   
constant: ALL   
constant: ELEMENTS   
method: expr / 3   
method: descendant_or_self / 2   
method: d_o_s / 3   
method: document_order / 1   
method: recurse / 2   
method: preceding / 1   
method: preceding_node_of / 1   
method: following / 1   
method: following_node_of / 1   
method: next_sibling_node / 1   
method: norm   
method: equality_relational_compare / 3   
method: compare   

Constants

XPathParser::LITERAL

#37 in rexml/xpath_parser.rb

LITERAL = /^'([^']*)'|^"([^"]*)"/u   

XPathParser::ALL

#154 in rexml/xpath_parser.rb

ALL = [ :attribute, :element, :text, :processing_instruction, :comment ]   

XPathParser::ELEMENTS

#155 in rexml/xpath_parser.rb

ELEMENTS = [ :element ]   

Instance Methods

XPathParser#initialize / 1

#39 in rexml/xpath_parser.rb

initialize ( )

XPathParser#namespaces= / 1

#45 in rexml/xpath_parser.rb

namespaces= ( namespaces={} )

XPathParser#variables= / 1

#50 in rexml/xpath_parser.rb

variables= ( vars={} )

XPathParser#parse

#55 in rexml/xpath_parser.rb

parse

XPathParser#get_first

#63 in rexml/xpath_parser.rb

get_first

XPathParser#predicate

#71 in rexml/xpath_parser.rb

predicate

XPathParser#[]= / 2

#76 in rexml/xpath_parser.rb

[]= ( variable_name ,
  value )

XPathParser#first / 2

#85 in rexml/xpath_parser.rb

first ( path_stack ,
  node )

XPathParser#match / 2

#126 in rexml/xpath_parser.rb

match ( path_stack ,
  nodeset )

XPathParser#get_namespace / 2

#142 in rexml/xpath_parser.rb

get_namespace ( node ,
  prefix )

XPathParser#expr / 3

#156 in rexml/xpath_parser.rb

expr ( path_stack ,
  nodeset ,
  context=nil )

XPathParser#descendant_or_self / 2

#522 in rexml/xpath_parser.rb

descendant_or_self ( path_stack ,
  nodeset )

XPathParser#d_o_s / 3

#533 in rexml/xpath_parser.rb

d_o_s ( p ,
  ns ,
  r )

XPathParser#document_order / 1

#555 in rexml/xpath_parser.rb

document_order ( array_of_nodes )

XPathParser#recurse / 2

#571 in rexml/xpath_parser.rb

recurse ( nodeset ,
  &block )

XPathParser#preceding / 1

#584 in rexml/xpath_parser.rb

preceding ( node )

XPathParser#preceding_node_of / 1

#608 in rexml/xpath_parser.rb

preceding_node_of ( node )

XPathParser#following / 1

#626 in rexml/xpath_parser.rb

following ( node )

XPathParser#following_node_of / 1

#639 in rexml/xpath_parser.rb

following_node_of ( node )

XPathParser#next_sibling_node / 1

#649 in rexml/xpath_parser.rb

next_sibling_node ( node )

XPathParser#norm

#662 in rexml/xpath_parser.rb

norm

XPathParser#equality_relational_compare / 3

#675 in rexml/xpath_parser.rb

equality_relational_compare ( set1 ,
  op ,
  set2 )

XPathParser#compare

#768 in rexml/xpath_parser.rb

compare