/stringparser.class.phpGeneric string parsing infrastructure
These classes provide the means to parse any kind of string into a tree-like memory structure. It would e.g. be possible to create an HTML parser based upon this class.
Version: 0.3.2
| Class | Description |
|---|---|
StringParser
|
Generic string parser class |
StringParser_Node
|
Generic string parser node class |
StringParser_Node_Root
|
String parser root node class |
StringParser_Node_Text
|
String parser text node class |
STRINGPARSER_FILTER_POST = 2
(line 57)
Filter type: Postfilter
STRINGPARSER_FILTER_PRE = 1
(line 52)
Filter type: Prefilter
STRINGPARSER_MODE_LOOP = 2
(line 47)
String parser mode: Look at each character of the string
STRINGPARSER_MODE_SEARCH = 1
(line 42)
String parser mode: Search for the next character
STRINGPARSER_NODE_ROOT = 1
(line 812)
Node type: Root node
STRINGPARSER_NODE_TEXT = 2
(line 818)
Node type: Text node
STRINGPARSER_NODE_UNKNOWN = 0
(line 806)
Node type: Unknown node
Documentation generated on Mon, 10 Dec 2007 13:29:34 +0100 by phpDocumentor 1.4.0