Docs for page stringparser.class.php

## /stringparser.class.php

Description

Generic 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

- author: Christian Seiler <spam@christian-seiler.de>
- copyright: Christian Seiler 2006
- filesource: Source Code for this file

Classes

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

Constants
STRINGPARSER_FILTER_POST = 2 (line 57)

Filter type: Postfilter

- see: StringParser::addFilter, StringParser::_postfilters

STRINGPARSER_FILTER_PRE = 1 (line 52)

Filter type: Prefilter

- see: StringParser::addFilter, StringParser::_prefilters

STRINGPARSER_MODE_LOOP = 2 (line 47)

String parser mode: Look at each character of the string

- see: StringParser::_parserMode

STRINGPARSER_MODE_SEARCH = 1 (line 42)

String parser mode: Search for the next character

- see: StringParser::_parserMode

STRINGPARSER_NODE_ROOT = 1 (line 812)

Node type: Root node

- see: StringParser_Node::_type

STRINGPARSER_NODE_TEXT = 2 (line 818)

Node type: Text node

- see: StringParser_Node::_type

STRINGPARSER_NODE_UNKNOWN = 0 (line 806)

Node type: Unknown node

- see: StringParser_Node::_type

Documentation generated on Mon, 10 Dec 2007 13:29:50 +0100 by phpDocumentor 1.4.0