C# Class ICSharpCode.NRefactory.CSharp.EntityDeclaration

Inheritance: AstNode
Show file Open project: 0xd4d/NRefactory Class Usage Examples

Public Properties

Property Type Description
AttributeRole Role
ModifierRole Role
PrivateImplementationTypeRole Role
UnattachedAttributeRole Role

Public Methods

Method Description
HasModifier ( Modifiers mod ) : bool

Protected Methods

Method Description
MatchAttributesAndModifiers ( EntityDeclaration o, PatternMatching match ) : bool

Private Methods

Method Description
GetModifiers ( AstNode node ) : Modifiers
SetModifiers ( AstNode node, Modifiers newValue ) : void

Method Details

HasModifier() public method

public HasModifier ( Modifiers mod ) : bool
mod Modifiers
return bool

MatchAttributesAndModifiers() protected method

protected MatchAttributesAndModifiers ( EntityDeclaration o, PatternMatching match ) : bool
o EntityDeclaration
match PatternMatching
return bool

Property Details

AttributeRole public static property

public static Role AttributeRole
return Role

ModifierRole public static property

public static Role ModifierRole
return Role

PrivateImplementationTypeRole public static property

public static Role PrivateImplementationTypeRole
return Role

UnattachedAttributeRole public static property

public static Role UnattachedAttributeRole
return Role