ast
Classes
Metadata entry for a single AST kind, as returned by ast\get_metadata().
This class describes a single node in a PHP AST.
Functions
array
get_supported_versions(bool $exclude_deprecated = false)
Returns currently supported AST versions.
parse_code(string $code, int $version, string $filename = 'string code')
Parses code string and returns an AST root node.
parse_file(string $filename, int $version)
Parses code from a file and returns an AST root node.