You don’t want to use this class. Really. Use XPath, which is a wrapper for this class. Believe me. You don’t want to poke around in here. There is strange, dark magic at work in this code. Beware. Go back! Go back while you still can!

Constants

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

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

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

QNAME = Namespace::NAMESPLIT

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

PI = /^processing-instruction\(/

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

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

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

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.