Page MenuHomePhabricator

final class XHPASTTree
Arcanist Technical Documentation ()

This class is not documented.

Methods

public function newNode($id, $data, $tree)

This method is not documented.
Parameters
$id
array$data
AASTTree$tree
Return
wild

public function newToken($id, $type, $value, $offset, $tree)

This method is not documented.
Parameters
$id
$type
$value
$offset
AASTTree$tree
Return
wild

public function __construct($tree, $stream, $source)

This method is not documented.
Parameters
array$tree
array$stream
$source
Return
this//Implicit.//

final public function setTreeType($description)
Inherited

This method is not documented.
Parameters
$description
Return
wild

final public function getTreeType()
Inherited

This method is not documented.
Return
wild

final public function setTokenConstants($token_map)
Inherited

This method is not documented.
Parameters
array$token_map
Return
wild

final public function setNodeConstants($node_map)
Inherited

This method is not documented.
Parameters
array$node_map
Return
wild

final public function getNodeTypeNameFromTypeID($type_id)
Inherited

This method is not documented.
Parameters
$type_id
Return
wild

final public function getNodeTypeIDFromTypeName($type_name)
Inherited

This method is not documented.
Parameters
$type_name
Return
wild

final public function getTokenTypeNameFromTypeID($type_id)
Inherited

This method is not documented.
Parameters
$type_id
Return
wild

final public function getTokenTypeIDFromTypeName($type_name)
Inherited

This method is not documented.
Parameters
$type_name
Return
wild

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

This method is not documented.
Return
wild

protected function buildTree($tree)
Inherited

This method is not documented.
Parameters
array$tree
Return
wild

final public function getRawTokenStream()
Inherited

This method is not documented.
Return
wild

public function getOffsetToLineNumberMap()
Inherited

This method is not documented.
Return
wild

public static function newFromData($php_source)

This method is not documented.
Parameters
$php_source
Return
wild

public static function newStatementFromString($string)

This method is not documented.
Parameters
$string
Return
wild

public static function newFromDataAndResolvedExecFuture($php_source, $resolved)

This method is not documented.
Parameters
$php_source
array$resolved
Return
wild