Class GlobalVariable
Represents a global variable element declared on a header file.
- Peg\Lib\Definitions\Element\VariableType
-
Peg\Lib\Definitions\Element\GlobalVariable
public
|
#
__construct( string $name, string $type, string $description = "" )
Create a global variable element using a declaration specification for its type. |
GetDeclarationCode()
|
public
string
|
$name | |
#
Holds the name of the element |
public
|
$header | |
#
Reference to the header containing this element. |
public
|
$namespace | |
#
Reference to the namespace containing this element. |
$description,
$indirection_level,
$is_array,
$is_const,
$is_pointer,
$is_reference,
$is_unsigned,
$original_type,
$type
|