C# Class ICSharpCode.NRefactory.MonoCSharp.Operator

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

Public Properties

Property Type Description
OperatorType OpType

Public Methods

Method Description
Accept ( StructuralVisitor visitor ) : void
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, PredefinedAttributes pa ) : void
Define ( ) : bool
GetMatchingOperator ( ) : OpType
GetMetadataName ( OpType ot ) : string
GetMetadataName ( string name ) : string
GetName ( OpType ot ) : string
GetName ( string metadata_name ) : string
GetSignatureForDocumentation ( ) : string
GetSignatureForError ( ) : string
GetType ( string metadata_name ) : OpType?
Operator ( TypeDefinition parent, OpType type, FullNamedExpression ret_type, Modifiers mod_flags, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, ToplevelBlock block, Attributes attrs, Location loc ) : System

Protected Methods

Method Description
FindBaseMember ( MemberSpec &bestCandidate, bool &overrides ) : MemberSpec
ResolveMemberType ( ) : bool

Private Methods

Method Description
Operator ( ) : System

Method Details

Accept() public method

public Accept ( StructuralVisitor visitor ) : void
visitor StructuralVisitor
return void

ApplyAttributeBuilder() public method

public ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, PredefinedAttributes pa ) : void
a System.Attribute
ctor MethodSpec
cdata byte
pa PredefinedAttributes
return void

Define() public method

public Define ( ) : bool
return bool

FindBaseMember() protected method

protected FindBaseMember ( MemberSpec &bestCandidate, bool &overrides ) : MemberSpec
bestCandidate MemberSpec
overrides bool
return MemberSpec

GetMatchingOperator() public method

public GetMatchingOperator ( ) : OpType
return OpType

GetMetadataName() public static method

public static GetMetadataName ( OpType ot ) : string
ot OpType
return string

GetMetadataName() public static method

public static GetMetadataName ( string name ) : string
name string
return string

GetName() public static method

public static GetName ( OpType ot ) : string
ot OpType
return string

GetName() public static method

public static GetName ( string metadata_name ) : string
metadata_name string
return string

GetSignatureForDocumentation() public method

public GetSignatureForDocumentation ( ) : string
return string

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

GetType() public static method

public static GetType ( string metadata_name ) : OpType?
metadata_name string
return OpType?

Operator() public method

public Operator ( TypeDefinition parent, OpType type, FullNamedExpression ret_type, Modifiers mod_flags, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, ToplevelBlock block, Attributes attrs, Location loc ) : System
parent TypeDefinition
type OpType
ret_type FullNamedExpression
mod_flags Modifiers
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
block ToplevelBlock
attrs Attributes
loc Location
return System

ResolveMemberType() protected method

protected ResolveMemberType ( ) : bool
return bool

Property Details

OperatorType public property

public OpType OperatorType
return OpType