CsEntityProperty Struct Reference

Property entity. More...

Inheritance diagram for CsEntityProperty:
CsEntity

List of all members.

Public Member Functions

 CsEntityProperty (WPHashString phs, cs_entity_access ac, AssemblyEntity *assembly, CsNode *decl_)
virtual ~CsEntityProperty ()
virtual void setStatic (bool flag)
virtual bool isStatic () const
 Returns true if it is a static entity.
virtual void visit (CsEntityVisitor *visitor)
virtual void setDynamicType ()

Public Attributes

CsNodedecl
 AST-node where entity was defined (CsProperty or CsIndexer). Null for property imported from assembly.
CsEntityTypeRef type
 Property type.
CsEntityMethodSpecifier specifier
 Property getter method specifier.
int n_parameters
 Number of formal parameters.
CsEntityFormalParameter ** parameters
 Formal parameters.
CsEntityMethodgetter
 Getter method.
CsEntityMethodsetter
 Setter method.
single_list< CsEntityMethod * > * others
 Other methods. These methods maybe imported only from assembly.
single_list< CsEntityAttribute * > * attributes
 Attributes.
CsConstantValuedefault_value
 Default value.

Detailed Description

Property entity.


Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool CsEntityProperty::isStatic (  )  const [inline, virtual]

Returns true if it is a static entity.

Reimplemented from CsEntity.

virtual void CsEntityProperty::setDynamicType (  )  [inline, virtual]

Reimplemented from CsEntity.

virtual void CsEntityProperty::setStatic ( bool  flag  )  [inline, virtual]

Reimplemented from CsEntity.

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

Implements CsEntity.


Member Data Documentation

Attributes.

AST-node where entity was defined (CsProperty or CsIndexer). Null for property imported from assembly.

Number of formal parameters.

Other methods. These methods maybe imported only from assembly.

Property getter method specifier.

© 2010 metaspec