Class Symbols
Represents a symbols table with all the definitions required to generate a PHP extension.
public
|
|
public
|
|
public
|
|
public
|
#
AddConstant(
Adds a constant to the symbols table. |
public
|
#
AddEnumeration(
Adds an enumeration to the symbols table. |
public
|
#
AddTypeDef(
Adds a type definition to the symbols table. |
public
|
#
AddGlobalVar(
Adds a global variable to the symbols table. |
public
|
#
AddFunction(
Adds a function to the symbols table. |
public
|
#
AddClass(
Adds a class to the symbols table. |
public
boolean
|
|
public
|
#
GetStandardType(
Gets a standard type identifier for a variable type. |
public
|
#
GetPHPStandardType(
Gets the php standard type identifier for a variable type. |
public
|
#
GetComponents( string $type )
Get the components of a variable type as namespace and class by checking the whole symbols object for matches. |
public
|
#
GetClassChilds( string $class_name, mixed $namespace = "" )
Gets a list of child classes that inherit from the given class. |
public
|
#
HasNamespace( string $namespace, string $header = "" )
Check if the symbols object has a given namespace. |
public
|
#
HasConstant( string $name, string $header = "", string $namespace = "" )
Check if the symbols object has a constant. |
public
|
#
HasEnumeration( string $name, string $header = "", string $namespace = "" )
Check if the symbols object has an enumeration. |
public
|
#
HasTypeDef( string $name, string $header = "", string $namespace = "" )
Check if the symbols object has a typedef. |
public
|
#
HasGlobalVariable( string $name, string $header = "", string $namespace = "" )
Check if the symbols object has a global variable. |
public
|
#
HasFunction( string $name, string $header = "", string $namespace = "" )
Check if the symbols object has a function. |
public
|
|
public
|
#
HasClassEnum( string $type )
Checks if a given type is a class enumeration. and class names separated by the :: operator or \. |
public
|
|
public
|
|
public
|
#
RemoveConstant( string $name, string $namespace = "", string $header = "" )
Removes a constant from the symbols object. |
public
|
#
RemoveEnumeration( string $name, string $namespace = "", string $header = "" )
Removes an enumeration from the symbols object. |
public
|
#
RemoveTypeDef( string $name, string $namespace = "", string $header = "" )
Removes a typedef from the symbols object. |
public
|
#
RemoveGlobalVariable( string $name, string $namespace = "", string $header = "" )
Removes a global variable from the symbols object. |
public
|
#
RemoveFunction( string $name, string $namespace = "", string $header = "" )
Removes a function from the symbols object. |
public
|
#
RemoveClass( string $name, string $namespace = "", string $header = "" )
Removes a class from the symbols object. |
public
|
$headers | |
#
List of header files (#include) |