| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
Base class for Parsers.
| Author: | Nimish Pachapurkar (npac@spikesource.com) |
| Version: | $Revision: 14009 $ |
| File Size: | 217 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct() X-Ref |
| Constructor |
| parse($filename) X-Ref |
| Parse a given file param: $filename Full path of the file return: FALSE on error. |
| getLine() X-Ref |
| Returns the next line from file. return: Next line from file |
| getLineTypeStr($lineType) X-Ref |
| Returns the string representation of LINE_TYPE param: $lineType return: Type of line |
| openFileReadOnly() X-Ref |
| Opens the file to be parsed in Read-only mode return: FALSE on failure. |
| getTotalLines() X-Ref |
| Returns the total lines (PHP, non-PHP) from a file return: Number of lines |
| getCoveredLines() X-Ref |
| Returns the number of covered PHP lines return: Number of covered lines |
| getUncoveredLines() X-Ref |
| Returns the number of uncovered PHP lines Note that the sum of covered and uncovered lines may not be equal to total lines. return: Number of uncovered lines |
| Generated: Sat Nov 22 03:48:54 2008 | Cross-referenced by PHPXref 0.7 |