public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
abstract public function newNode($id, $data, $tree)
abstract public function newNode($id, $data, $tree)
Parameters
$id | ||
array | $data | |
AASTTree | $tree |
Return
wild |
abstract public function newToken($id, $type, $value, $offset, $tree)
abstract public function newToken($id, $type, $value, $offset, $tree)
Parameters
$id | ||
$type | ||
$value | ||
$offset | ||
AASTTree | $tree |
Return
wild |
public function __construct($tree, $stream, $source)
public function __construct($tree, $stream, $source)
Parameters
array | $tree | |
array | $stream | |
$source |
Return
this | //Implicit.// |
final public function setTreeType($description)
final public function setTreeType($description)
Parameters
$description |
Return
wild |
final public function getTreeType()
final public function getTreeType()
Return
wild |
final public function setTokenConstants($token_map)
final public function setTokenConstants($token_map)
Parameters
array | $token_map |
Return
wild |
final public function setNodeConstants($node_map)
final public function setNodeConstants($node_map)
Parameters
array | $node_map |
Return
wild |
final public function getNodeTypeNameFromTypeID($type_id)
final public function getNodeTypeNameFromTypeID($type_id)
Parameters
$type_id |
Return
wild |
final public function getNodeTypeIDFromTypeName($type_name)
final public function getNodeTypeIDFromTypeName($type_name)
Parameters
$type_name |
Return
wild |
final public function getTokenTypeNameFromTypeID($type_id)
final public function getTokenTypeNameFromTypeID($type_id)
Parameters
$type_id |
Return
wild |
final public function getTokenTypeIDFromTypeName($type_name)
final public function getTokenTypeIDFromTypeName($type_name)
Parameters
$type_name |
Return
wild |
public function dispose()
public function dispose()
Unlink internal datastructures so that PHP will garbage collect the tree.
This renders the object useless.
Return
void |
final public function getRootNode()
final public function getRootNode()
Return
wild |
protected function buildTree($tree)
protected function buildTree($tree)
Parameters
array | $tree |
Return
wild |
final public function getRawTokenStream()
final public function getRawTokenStream()
Return
wild |
public function getOffsetToLineNumberMap()
public function getOffsetToLineNumberMap()
Return
wild |