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

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

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

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

PI = /^processing-instruction\(/

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

QNAME = Namespace::NAMESPLIT

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

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

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

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

Attributes

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