| [ Index ] |
PHP Cross Reference of Automap |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Francois Laupretre <automap@tekwire.net> |
| License: | http://www.apache.org/licenses/LICENSE-2.0 Apache License, V 2.0 |
| File Size: | 496 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Parser:: (10 methods):
__construct()
cleanup()
exclude()
addSymbol()
parseExtension()
combineNSSymbol()
parseAutomapDirectives()
parseScriptFile()
parseScript()
parseTokens()
| __construct() X-Ref |
| Constructor |
| cleanup() X-Ref |
| No description |
| exclude($type,$name) X-Ref |
| Mark a symbol as excluded param: string $type one of the \Automap\Mgr::T_xx constants param: string $name The symbol name return: null |
| addSymbol($type,$name) X-Ref |
| Add a symbol into the table Filter out the symbol from the exclude list param: string $type one of the \Automap\Mgr::T_xx constants param: string $name The symbol name return: null |
| parseExtension($file) X-Ref |
| Extracts symbols from an extension param: string $file Extension name return: null |
| combineNSSymbol($ns,$symbol) X-Ref |
| Combine a namespace with a symbol The leading and trailing backslashes are first suppressed from the namespace. Then, if the namespace is not empty it is prepended to the symbol using a backslash. param: string $ns Namespace (can be empty) param: string $symbol Symbol name (cannot be empty) return: string Fully qualified name without leading backslash |
| parseAutomapDirectives($buf,&$skip_blocks) X-Ref |
| Register explicit declarations Format: <double-slash> <Automap>:declare <type> <value> <double-slash> <Automap>:ignore <type> <value> <double-slash> <Automap>:ignore-file <double-slash> <Automap>:skip-blocks return: bool false if indexing is disabled on this file |
| parseScriptFile($path) X-Ref |
| Extracts symbols from a PHP script file param: string $path FIle to parse return: array of symbols |
| parseScript($buf) X-Ref |
| Extracts symbols from a PHP script contained in a string param: string $buf The script to parse return: array of symbols |
| parseTokens($buf,$skip_blocks) X-Ref |
| Extract symbols from script tokens |
| Generated: Thu Jun 4 18:32:29 2015 | Cross-referenced by PHPXref 0.7.1 |