CsEntityMethod Struct Reference

Method entity. More...

Inheritance diagram for CsEntityMethod:
CsEntity

List of all members.

Public Member Functions

 CsEntityMethod ()
 CsEntityMethod (WPHashString phs, cs_entity_access ac, AssemblyEntity *assembly, CsNode *decl_)
virtual ~CsEntityMethod ()
virtual void setStatic (bool flag)
virtual bool isStatic () const
 Returns true if it is a static entity.
bool isAbstract () const
bool isSealed () const
void setAnonymousMethod (bool flag)
bool isAnonymousMethod ()
void setExtensionMethod (bool flag)
bool isExtensionMethod ()
virtual void visit (CsEntityVisitor *visitor)

Public Attributes

CsEntityMethodSpecifier specifier
 Method specifier.
int n_parameters
 Number of formal parameters.
CsEntityFormalParameter ** parameters
 Formal parameters.
CsEntityBlockblock
 Method block.
CsEntityowner
 Method owner. Non-null for property and event methods. Points to CsEntityProperty for property methods, points to CsEntityEvent for event methods.
CsEntityMethodbase_method
 Overridden base method.
unsigned __int16 n_method_generic_params
 Number of method generic type parameters.
bool anonymous_method
 True if method is anonymous.
bool modopt_type_parameters
 Method type parameters declared with modopt prefix.
CsEntityGenericParam ** method_generic_params
 Generic method type parameters.
ScopeHashTable * scope_table
 Scope table (contains generic parameters).
single_list< CsEntityAttribute * > * attributes
 Attributes.
CsNodedecl
 Method declaration.
CsNodeimplementation
 Partial method implementation.

Detailed Description

Method entity.


Constructor & Destructor Documentation

CsEntityMethod::CsEntityMethod (  )  [inline]
CsEntityMethod::CsEntityMethod ( WPHashString  phs,
cs_entity_access  ac,
AssemblyEntity assembly,
CsNode decl_ 
) [inline]
virtual CsEntityMethod::~CsEntityMethod (  )  [inline, virtual]

Member Function Documentation

bool CsEntityMethod::isAbstract (  )  const [inline]
bool CsEntityMethod::isAnonymousMethod (  )  [inline]
bool CsEntityMethod::isExtensionMethod (  )  [inline]
bool CsEntityMethod::isSealed (  )  const [inline]
virtual bool CsEntityMethod::isStatic (  )  const [inline, virtual]

Returns true if it is a static entity.

Reimplemented from CsEntity.

void CsEntityMethod::setAnonymousMethod ( bool  flag  )  [inline]
void CsEntityMethod::setExtensionMethod ( bool  flag  )  [inline]
virtual void CsEntityMethod::setStatic ( bool  flag  )  [inline, virtual]

Reimplemented from CsEntity.

virtual void CsEntityMethod::visit ( CsEntityVisitor visitor  )  [inline, virtual]

Implements CsEntity.


Member Data Documentation

True if method is anonymous.

Attributes.

Overridden base method.

Method declaration.

Partial method implementation.

Method type parameters declared with modopt prefix.

Number of method generic type parameters.

Number of formal parameters.

Method owner. Non-null for property and event methods. Points to CsEntityProperty for property methods, points to CsEntityEvent for event methods.

ScopeHashTable* CsEntityMethod::scope_table

Scope table (contains generic parameters).

© 2010 metaspec