File/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.1

Classes
Class Description
 class StringParser Generic string parser class
 class StringParser_Node Generic string parser node class
 class StringParser_Node_Root String parser root node class
 class StringParser_Node_Text String parser text node class
Constants
STRINGPARSER_FILTER_POST = 2 (line 59)

Filter type: Postfilter

  • see: StringParser::addFilter, StringParser::_postfilters
STRINGPARSER_FILTER_PRE = 1 (line 54)

Filter type: Prefilter

  • see: StringParser::addFilter, StringParser::_prefilters
STRINGPARSER_MODE_LOOP = 2 (line 49)

String parser mode: Look at each character of the string

  • see: StringParser::_parserMode
STRINGPARSER_MODE_SEARCH = 1 (line 44)

String parser mode: Search for the next character

  • see: StringParser::_parserMode
STRINGPARSER_NODE_ROOT = 1 (line 814)

Node type: Root node

  • see: StringParser_Node::_type
STRINGPARSER_NODE_TEXT = 2 (line 820)

Node type: Text node

  • see: StringParser_Node::_type
STRINGPARSER_NODE_UNKNOWN = 0 (line 808)

Node type: Unknown node

  • see: StringParser_Node::_type

Documentation generated on Mon, 24 Apr 2006 21:38:02 +0200 by phpDocumentor 1.3.0RC5