HeaderDoc::PDefine
IntroductionAPI object that describes a C preprocessor macro declaration. DiscussionThis class is a subclass of
Member Functions
_initializeInitializes an instance of a sub _initialize ParametersabstractGets/sets the abstract for a sub abstract ParametersDiscussionThis differs from the main function only in that it checks for abstract locking (used by define blocks). blockDiscussionGets/sets the block discussion for a sub blockDiscussion ParametersDiscussionThe block discussion for a cloneDuplicates this sub clone ParametersconflictGets/sets whether this function has a conflict with another function of the same name. sub conflict ParametersdiscussionGets/sets the discussion; returns block discussion
for sub discussion ParametersDiscussionThis differs from the main function in that it checks for discussion locking (used by define blocks) and falls back on the block discussion for individual defines if no define-specific discussion exists. isAvailabilityMacroGets/sets whether this macro is an availability macro. ParametersDiscussionTriggered by the isFunctionLikeMacroReturns whether the macro is a function-like macro or not. sub isFunctionLikeMacro() parseOnlyGets/sets the "parse only" flag for this sub parseOnly ParametersDiscussionThis is triggered by the parseTreeGets/sets the parse tree associated with this object. sub parseTree ParametersDiscussionIf this is a block declaration, the parse tree is added to its list of parse trees. printObjectPrints this object for debugging purposes. sub printObject ParameterssetDeclarationSets the declaration. sub setDeclaration ParametersMember Data
BLOCKDISCUSSIONThe discussion for the define block that contains this define. $self->{BLOCKDISCUSSION}
HeaderDoc::PDefine::VERSIONThe revision control revision number for this module. $HeaderDoc::PDefine::VERSION = '$Revision: 1299283925 $'; DiscussionIn the git repository, contains the number of seconds since January 1, 1970. ISAVAILABILITYMACROSet to 1 if this macro is an availability macro, else 0. $self->{ISAVAILABILITYMACRO}
PARSEONLYSet by the $self->{PARSEONLY}
RESULTThe contents of the $self->{RESULT}
|