Page MenuHomePhorge

final class XHPASTTree
libphutil Technical Documentation (Parsers)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

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