Property | Type | Description | |
---|---|---|---|
$col | number | Current column number | |
$data | string | Contents of config file | |
$erroneous | boolean | Erroneous? | |
$file | string | Config file path | |
$length | integer | File length | |
$line | number | Current line number | |
$p | integer | Pointer (current offset) | |
$revision | integer | Revision | |
$stack | array | Parse stack | |
$state | array | State stack | |
$target | object | Target object | |
$tokens | array | Callbacks |
Method | Description | |
---|---|---|
getCurrentScope ( ) : object | Returns current variable scope | |
isErroneous ( ) : boolean | Erroneous? | |
parse ( $file, $target, $included = false ) : |
Parse config file | |
raiseError ( string $msg, $level = 'emerg', $line = null, $col = null ) : void | Raises error message. |
Method | Description | |
---|---|---|
__construct ( $file, $target, $included = false ) : void | Constructor | |
getCurrentChar ( ) : string | Current character. | |
getNextChar ( ) : string | Returns next character. | |
purgeScope ( $scope ) : void | Removes old config parts after updating. | |
rewind ( $n ) : void | Rewinds the pointer back. | |
token ( $token, string $c ) : mixed | void | Executes token server. |
protected __construct ( $file, $target, $included = false ) : void | ||
return | void |
protected getCurrentChar ( ) : string | ||
return | string | Character. |
public getCurrentScope ( ) : object | ||
return | object | Scope. |
protected getNextChar ( ) : string | ||
return | string | Character. |
public static parse ( $file, $target, $included = false ) : |
||
return |
protected purgeScope ( $scope ) : void | ||
return | void |
public raiseError ( string $msg, $level = 'emerg', $line = null, $col = null ) : void | ||
$msg | string | |
return | void |