public function newNode($id, $data, $tree)
public function newNode($id, $data, $tree)
Parameters
$id | ||
array | $data | |
AASTTree | $tree |
Return
wild |
public function newToken($id, $type, $value, $offset, $tree)
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)Inherited
final public function setTreeType($description)
Inherited
Parameters
$description |
Return
wild |
final public function getTreeType()Inherited
final public function getTreeType()
Inherited
Return
wild |
final public function setTokenConstants($token_map)Inherited
final public function setTokenConstants($token_map)
Inherited
Parameters
array | $token_map |
Return
wild |
final public function setNodeConstants($node_map)Inherited
final public function setNodeConstants($node_map)
Inherited
Parameters
array | $node_map |
Return
wild |
final public function getNodeTypeNameFromTypeID($type_id)Inherited
final public function getNodeTypeNameFromTypeID($type_id)
Inherited
Parameters
$type_id |
Return
wild |
final public function getNodeTypeIDFromTypeName($type_name)Inherited
final public function getNodeTypeIDFromTypeName($type_name)
Inherited
Parameters
$type_name |
Return
wild |
final public function getTokenTypeNameFromTypeID($type_id)Inherited
final public function getTokenTypeNameFromTypeID($type_id)
Inherited
Parameters
$type_id |
Return
wild |
final public function getTokenTypeIDFromTypeName($type_name)Inherited
final public function getTokenTypeIDFromTypeName($type_name)
Inherited
Parameters
$type_name |
Return
wild |
public function dispose()Inherited
public function dispose()
Inherited
AASTTree
Unlink internal datastructures so that PHP will garbage collect the tree.
This renders the object useless.
Return
void |
final public function getRootNode()Inherited
final public function getRootNode()
Inherited
Return
wild |
protected function buildTree($tree)Inherited
protected function buildTree($tree)
Inherited
Parameters
array | $tree |
Return
wild |
final public function getRawTokenStream()Inherited
final public function getRawTokenStream()
Inherited
Return
wild |
public function getOffsetToLineNumberMap()Inherited
public function getOffsetToLineNumberMap()
Inherited
Return
wild |
public static function newFromData($php_source)
public static function newFromData($php_source)
Parameters
$php_source |
Return
wild |
public static function newStatementFromString($string)
public static function newStatementFromString($string)
Parameters
$string |
Return
wild |
public static function newFromDataAndResolvedExecFuture($php_source, $resolved)
public static function newFromDataAndResolvedExecFuture($php_source, $resolved)
Parameters
$php_source | ||
array | $resolved |
Return
wild |