The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Represents a type obtained using introspection. More...
Public Member Functions | |
Introspection (IBCLUserType userType, Type type) | |
Constructor of Introspection. More... | |
TypeExpression | FindMember (string memberName, Location location) |
Finds a attribute of a BCL user type, using introspection. Inheritance is not taken into account. In the attribute is not found, an error is generated. More... | |
TypeExpression | FindMember (string memberName) |
Finds a attribute of a BCL user type, using introspection. Inheritance is not taken into account. In the attribute is not found, an error not is generated. More... | |
TypeExpression | FindConstructor (Location location) |
Finds and adds the list of constructor to a BCL type More... | |
void | createBaseClassAndInterfacesTree () |
Creates, based on introspection, the base class of the user type and the list of interfaces implemented More... | |
Static Public Member Functions | |
static TypeExpression | createBCLUserType (string name, System.Type type, Location location) |
Method that encapsulates the creation of a BCL class or interface More... | |
static List< Modifier > | getMethodModifierList (MethodBase method) |
Gets the modifier list from a method info More... | |
static List< Modifier > | getMethodModifierList (MemberInfo member) |
Properties | |
Type | TypeInfo [get] |
Gets the type More... | |
Represents a type obtained using introspection.
Inheritance: TypeExpression. Implements Composite pattern [Composite].
Definition at line 33 of file Instrospection.cs.
TypeSystem.Introspection.Introspection | ( | IBCLUserType | userType, |
Type | type | ||
) |
Constructor of Introspection.
userType | The user type of the type system |
type | WriteType name to introspection. |
Definition at line 66 of file Instrospection.cs.
void TypeSystem.Introspection.createBaseClassAndInterfacesTree | ( | ) |
Creates, based on introspection, the base class of the user type and the list of interfaces implemented
Definition at line 373 of file Instrospection.cs.
|
static |
Method that encapsulates the creation of a BCL class or interface
name | The name of the user type (class or interface) |
type |
Definition at line 80 of file Instrospection.cs.
TypeExpression TypeSystem.Introspection.FindConstructor | ( | Location | location | ) |
Finds and adds the list of constructor to a BCL type
fileName | File name. |
line | Line number. |
column | Column number. |
Definition at line 260 of file Instrospection.cs.
TypeExpression TypeSystem.Introspection.FindMember | ( | string | memberName, |
Location | location | ||
) |
Finds a attribute of a BCL user type, using introspection. Inheritance is not taken into account. In the attribute is not found, an error is generated.
memberName | The name of the attribute. |
fileName | File name. |
line | Line number. |
column | Column number. |
Definition at line 206 of file Instrospection.cs.
TypeExpression TypeSystem.Introspection.FindMember | ( | string | memberName | ) |
Finds a attribute of a BCL user type, using introspection. Inheritance is not taken into account. In the attribute is not found, an error not is generated.
memberName | The name of the attribute. |
Definition at line 219 of file Instrospection.cs.
|
static |
Gets the modifier list from a method info
method | The method info |
Definition at line 303 of file Instrospection.cs.
|
static |
Definition at line 319 of file Instrospection.cs.
|
get |
Gets the type
Definition at line 53 of file Instrospection.cs.