NAME
GX::Meta::Method - Method metaclass
SYNOPSIS
None.
DESCRIPTION
This module provides the GX::Meta::Method class.
METHODS
Constructor
new
Returns a new GX::Meta::Method metaobject.
$method = GX::Meta::Method->new( %attributes );
- Attributes:
-
class
( GX::Meta::Class object ) [ required ]The class metaobject that represents the class to which the method belongs.
name
( string ) [ required ]The name of the method.
- Returns:
-
$method
( GX::Meta::Method object )
- Exceptions:
Public Methods
class
Returns the class metaobject that represents the class to which the method belongs.
$class = $method->class;
- Returns:
-
$class
( GX::Meta::Class object )
code
Returns a reference to the method.
$code = $method->code;
code_attributes
Returns the code attributes of the method.
@code_attributes = $method->code_attributes;
- Returns:
-
@code_attributes
( strings )A list of simple names, each optionally followed by a parenthesised parameter list. See attributes for details.
full_name
Returns the fully qualified name of the method.
$full_name = $method->full_name;
name
Returns the name of the method.
$name = $method->name;
SEE ALSO
AUTHOR
Jörg A. Uzarek <uzarek@runlevelnull.de>
COPYRIGHT AND LICENSE
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.