/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.1
| 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 59)
Filter type: Postfilter
STRINGPARSER_FILTER_PRE = 1
(line 54)
Filter type: Prefilter
STRINGPARSER_MODE_LOOP = 2
(line 49)
String parser mode: Look at each character of the string
STRINGPARSER_MODE_SEARCH = 1
(line 44)
String parser mode: Search for the next character
STRINGPARSER_NODE_ROOT = 1
(line 814)
Node type: Root node
STRINGPARSER_NODE_TEXT = 2
(line 820)
Node type: Text node
STRINGPARSER_NODE_UNKNOWN = 0
(line 808)
Node type: Unknown node
Documentation generated on Mon, 24 Apr 2006 21:38:02 +0200 by phpDocumentor 1.3.0RC5