HeaderDoc::Var

Declared In:

Introduction

API object that that describes a global variable, class instance variable, or package variable.

Discussion

This class is a subclass of HeaderElement. The majority of related fields and functions can be found there.



Member Functions

_initialize

Initializes an instance of a Var object.

clone

Duplicates this Var object into another one.

isProperty

Returns whether the variable described by this object is an Objective-C property.

printObject

Prints this object for debugging purposes.

setDeclaration

Sets the declaration.


_initialize


Initializes an instance of a Var object.

Parameters
self

The object to initialize.


clone


Duplicates this Var object into another one.

sub clone 
Parameters
self

The object to clone.

clone

The victim object.


isProperty


Returns whether the variable described by this object is an Objective-C property.

Parameters
self

This object.

newvalue

The new value. (Optional.)

Return Value

Returns 0 or 1.


printObject


Prints this object for debugging purposes.

Parameters
self

This object.


setDeclaration


Sets the declaration.

Parameters
self

This object.

declaration

The line array.


Member Data

HeaderDoc::Var::VERSION

The revision control revision number for this module.

ISPROPERTY

Value is 1 if this is an Objective-C property, else 1.

RESULT

The contents of the @result or @return(s) tags.


HeaderDoc::Var::VERSION


The revision control revision number for this module.

$HeaderDoc::Var::VERSION = '$Revision: 1298084579 $';  
Discussion

In the git repository, contains the number of seconds since January 1, 1970.


ISPROPERTY


Value is 1 if this is an Objective-C property, else 1.

$self->{ISPROPERTY}

RESULT


The contents of the @result or @return(s) tags.

$self->{RESULT}