Class Summary | |
---|---|
PHP_Parser_Tokenizer | The tokenizer wrapper for parser - implements the 'standard?' yylex interface2 main methods: constructor, which takes the data to parse calls php's internal tokenizer, then tidies up the array a little (key=>value) rather than mixed type. advance, which returns true while tokens are available - sets $value - sets $token parseError, which returns a string to appear on parser error messages. |