CsEntityVariable Class Reference

Variable entity. More...

Inheritance diagram for CsEntityVariable:
CsEntity

List of all members.

Public Member Functions

 CsEntityVariable (string name, cs_entity_access ac, AssemblyEntity assembly, CsNode decl)
override void visit (ICsEntityVisitor visitor)
override void setStatic (bool flag)
override bool isStatic ()
 Returns true if it is a static entity.

Public Attributes

CsEntityTypeRef type
 Variable type.
CsNode decl
 AST-node where entity was defined. Null if entity imported from assembly.
LinkedList< CsEntityAttributeattributes
 Attributes.

Detailed Description

Variable entity.


Constructor & Destructor Documentation

CsEntityVariable ( string  name,
cs_entity_access  ac,
AssemblyEntity  assembly,
CsNode  decl 
)

Member Function Documentation

override bool isStatic (  )  [virtual]

Returns true if it is a static entity.

Reimplemented from CsEntity.

override void setStatic ( bool  flag  )  [virtual]

Reimplemented from CsEntity.

override void visit ( ICsEntityVisitor  visitor  )  [virtual]

Implements CsEntity.


Member Data Documentation

Attributes.

AST-node where entity was defined. Null if entity imported from assembly.

Variable type.

© 2010 metaspec