C-minor v0.0

MethodGroup Class

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Types

Represents a group of methods

public class MethodGroup : Member,
    Topten.Cminor.Semantic.IBinding

Inheritance

MethodGroup → Memberobject

Interfaces

Topten.Cminor.Semantic.IBinding

Remarks

A method group represets either all the methods with a name, all the static methods with a name or all the instance methods of a name.

Constructors

MethodGroup(string, TypeInfo)

Constructs a new MethodGroup for all the methods with a name

Fields

Methods

The set of methods in this method group

Properties

Description
InstanceMethods

Gets the instance method sub-group

IsInstanceGroup

Returns true if this is the instance method sub-group

IsLValue
IsStaticGroup

Returns true if this is the static method sub-group

IsValue
StaticMethods

Gets the static method sub-group

TypeInfo

Methods

Add(Method)

Adds a method to this group and the sub-groups

Overridden & Inherited

Attributes

Attributes for this member

Declaration

The AST statement that declares this member

DeclaringType

Gets the type that this member belongs to

Kind
Modifiers

Modifiers for this member

Name

The member name

NativeName