Class: XPathParser (REXML::Parsers)

Overview
Module Structure
Class Hierarchy
Constants
XPathParser::LITERAL
XPathParser::AXIS
XPathParser::NCNAMETEST
XPathParser::QNAME
XPathParser::NODE_TYPE
XPathParser::PI
XPathParser::VARIABLE_REFERENCE
XPathParser::NUMBER
XPathParser::NT
Instance Methods
XPathParser#namespaces= / 1
XPathParser#parse
XPathParser#predicate
XPathParser#abbreviate / 1
XPathParser#expand / 1
XPathParser#predicate_to_string / 2
XPathParser#LocationPath
XPathParser#RelativeLocationPath
XPathParser#NodeTest
XPathParser#Predicate
XPathParser#OrExpr
XPathParser#AndExpr
XPathParser#EqualityExpr
XPathParser#RelationalExpr
XPathParser#AdditiveExpr
XPathParser#MultiplicativeExpr
XPathParser#UnaryExpr
XPathParser#UnionExpr
XPathParser#PathExpr
XPathParser#FilterExpr
XPathParser#PrimaryExpr
XPathParser#FunctionCall
XPathParser#get_group
XPathParser#parse_args / 1
is a submodule of
module: Parsers ( REXML )
includes
  XMLTokens ( REXML )
inherits from
  Object ( Builtin-Module )
has properties
constant: LITERAL   
method: namespaces= / 1   
method: parse   
method: predicate   
method: abbreviate / 1   
method: expand / 1   
method: predicate_to_string / 2   
method: LocationPath   
constant: AXIS   
method: RelativeLocationPath   
constant: NCNAMETEST   
constant: QNAME   
constant: NODE_TYPE   
constant: PI   
method: NodeTest   
method: Predicate   
method: OrExpr   
method: AndExpr   
method: EqualityExpr   
method: RelationalExpr   
method: AdditiveExpr   
method: MultiplicativeExpr   
method: UnaryExpr   
method: UnionExpr   
method: PathExpr   
method: FilterExpr   
constant: VARIABLE_REFERENCE   
constant: NUMBER   
constant: NT   
method: PrimaryExpr   
method: FunctionCall   
method: get_group   
method: parse_args / 1   
is defined at
#10 in rexml/parsers/xpathparser.rb  

Overview

Module Structure

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

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
XPathParser ( REXML::Parsers )
includes
  XMLTokens ( REXML )
has properties
constant: LITERAL   
method: namespaces= / 1   
method: parse   
method: predicate   
method: abbreviate / 1   
method: expand / 1   
method: predicate_to_string / 2   
method: LocationPath   
constant: AXIS   
method: RelativeLocationPath   
constant: NCNAMETEST   
constant: QNAME   
constant: NODE_TYPE   
constant: PI   
method: NodeTest   
method: Predicate   
method: OrExpr   
method: AndExpr   
method: EqualityExpr   
method: RelationalExpr   
method: AdditiveExpr   
method: MultiplicativeExpr   
method: UnaryExpr   
method: UnionExpr   
method: PathExpr   
method: FilterExpr   
constant: VARIABLE_REFERENCE   
constant: NUMBER   
constant: NT   
method: PrimaryExpr   
method: FunctionCall   
method: get_group   
method: parse_args / 1   

Constants

XPathParser::LITERAL

#12 in rexml/parsers/xpathparser.rb

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

XPathParser::AXIS

#210 in rexml/parsers/xpathparser.rb

AXIS = /^(ancestor|ancestor-or-self|attribute|child|descendant|descendant-or-self|following|following-sibling|namespace|parent|preceding|preceding-sibling|self)::/   

XPathParser::NCNAMETEST

#279 in rexml/parsers/xpathparser.rb

NCNAMETEST = /^(#{NCNAME_STR}):\*/u   

XPathParser::QNAME

#280 in rexml/parsers/xpathparser.rb

QNAME = Namespace::NAMESPLIT   

XPathParser::NODE_TYPE

#281 in rexml/parsers/xpathparser.rb

NODE_TYPE = /^(comment|text|node)\(\s*\)/m   

XPathParser::PI

#282 in rexml/parsers/xpathparser.rb

PI = /^processing-instruction\(/   

XPathParser::VARIABLE_REFERENCE

#577 in rexml/parsers/xpathparser.rb

VARIABLE_REFERENCE = /^\$(#{NAME_STR})/u   

XPathParser::NUMBER

#578 in rexml/parsers/xpathparser.rb

NUMBER = /^(\d*\.?\d+)/   

XPathParser::NT

#579 in rexml/parsers/xpathparser.rb

NT = /^comment|text|processing-instruction|node$/   

Instance Methods

XPathParser#namespaces= / 1

#14 in rexml/parsers/xpathparser.rb

namespaces= ( namespaces )

XPathParser#parse

#19 in rexml/parsers/xpathparser.rb

parse

XPathParser#predicate

#27 in rexml/parsers/xpathparser.rb

predicate

XPathParser#abbreviate / 1

#33 in rexml/parsers/xpathparser.rb

abbreviate ( path )

XPathParser#expand / 1

#91 in rexml/parsers/xpathparser.rb

expand ( path )

XPathParser#predicate_to_string / 2

#130 in rexml/parsers/xpathparser.rb

predicate_to_string ( path ,
  &block )

XPathParser#LocationPath

#185 in rexml/parsers/xpathparser.rb

LocationPath

XPathParser#RelativeLocationPath

#211 in rexml/parsers/xpathparser.rb

RelativeLocationPath

XPathParser#NodeTest

#283 in rexml/parsers/xpathparser.rb

NodeTest

XPathParser#Predicate

#326 in rexml/parsers/xpathparser.rb

Predicate

XPathParser#OrExpr

#352 in rexml/parsers/xpathparser.rb

OrExpr

XPathParser#AndExpr

#373 in rexml/parsers/xpathparser.rb

AndExpr

XPathParser#EqualityExpr

#396 in rexml/parsers/xpathparser.rb

EqualityExpr

XPathParser#RelationalExpr

#421 in rexml/parsers/xpathparser.rb

RelationalExpr

XPathParser#AdditiveExpr

#448 in rexml/parsers/xpathparser.rb

AdditiveExpr

XPathParser#MultiplicativeExpr

#473 in rexml/parsers/xpathparser.rb

MultiplicativeExpr

XPathParser#UnaryExpr

#500 in rexml/parsers/xpathparser.rb

UnaryExpr

XPathParser#UnionExpr

#520 in rexml/parsers/xpathparser.rb

UnionExpr

XPathParser#PathExpr

#541 in rexml/parsers/xpathparser.rb

PathExpr

XPathParser#FilterExpr

#561 in rexml/parsers/xpathparser.rb

FilterExpr

XPathParser#PrimaryExpr

#580 in rexml/parsers/xpathparser.rb

PrimaryExpr

XPathParser#FunctionCall

#622 in rexml/parsers/xpathparser.rb

FunctionCall

XPathParser#get_group

#635 in rexml/parsers/xpathparser.rb

get_group

XPathParser#parse_args / 1

#653 in rexml/parsers/xpathparser.rb

parse_args ( string )