Свойство | Тип | Описание | |
---|---|---|---|
defaultClass |
Метод | Описание | |
---|---|---|
AddClass ( string nsName, string name ) : |
Add a class to this Scope. If the class already exists, throw an exception.
|
|
AddClass ( |
Add a class to this Scope. If this class already exists, throw an exception
|
|
AddField ( string name, Type fType ) : |
Add a field to this scope.
|
|
AddField ( |
Add a field to this scope.
|
|
AddMethod ( string name, Type retType, Type pars ) : |
Fetch a MethodRef descriptor for the method "retType name (pars)". If one exists, it is returned, else one is created.
|
|
AddMethod ( |
Add a method to this scope.
|
|
AddValueClass ( string nsName, string name ) : |
Add a value class to this scope. If the class already exists, throw an exception.
|
|
AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : |
Fetch a MethodRef descriptor for the method "retType name (pars, optPars)". If one exists, it is returned, else one is created.
|
|
GetClass ( string name ) : |
Get a class of this scope, if it exists.
|
|
GetClass ( string nsName, string name ) : |
Get a class of this scope, if it exists.
|
|
GetClasses ( ) : PERWAPI.ClassRef[] |
Get all the classes in this scope.
|
|
GetField ( string name ) : |
Fetch the FieldRef descriptor for the field "name" in this module, if one exists
|
|
GetFields ( ) : PERWAPI.FieldRef[] |
Get all the fields of this module
|
|
GetMethod ( string name ) : |
Get a method of this scope, if it exists.
|
|
GetMethod ( string name, Type parTypes ) : |
Get a method of this scope, if it exists.
|
|
GetMethod ( string name, Type parTypes, Type optPars ) : |
Get a vararg method of this scope, if it exists.
|
|
GetMethods ( ) : PERWAPI.MethodRef[] |
Get all the methods in this module
|
|
GetMethods ( string name ) : PERWAPI.MethodRef[] |
Get all the methods with a specified name in this scope.
|
|
RemoveMethod ( |
Delete a method from this scope.
|
|
RemoveMethod ( int index ) : void |
Delete a method from this scope.
|
|
RemoveMethod ( string name ) : void |
Delete a method from this scope. If there are multiple methods with the same name, the first on the list will be deleted.
|
|
RemoveMethod ( string name, Type parTypes ) : void |
Delete a method from this scope.
|
|
RemoveMethod ( string name, Type parTypes, Type optTypes ) : void |
Delete a (vararg) method from this scope.
|
Метод | Описание | |
---|---|---|
AddFields ( |
Add a number of fields to this scope.
|
|
AddToClassList ( |
||
AddToFieldList ( |
||
AddToMethodList ( |
||
GetDefaultClass ( ) : |
||
GetMethod ( |
||
ReadAsDef ( ) : void | ||
ReferenceScope ( string name ) : System | ||
ReplaceClass ( |
||
SetDefaultClass ( |
||
isDefaultClass ( |
public AddClass ( string nsName, string name ) : |
||
nsName | string | name space name |
name | string | class name |
Результат |
public AddClass ( |
||
newClass | The class to be added | |
Результат | void |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
Результат |
public AddField ( |
||
fld | The field to be added | |
Результат | void |
public AddMethod ( string name, Type retType, Type pars ) : |
||
name | string | method name |
retType | Type | return type |
pars | Type | method parameter types |
Результат |
public AddMethod ( |
||
meth | The method to be added. | |
Результат | void |
public AddValueClass ( string nsName, string name ) : |
||
nsName | string | name space name |
name | string | class name |
Результат |
public AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : |
||
name | string | method name |
retType | Type | return type |
pars | Type | parameter types |
optPars | Type | optional param types for this vararg method |
Результат |
public GetClass ( string name ) : |
||
name | string | The name of the class. |
Результат |
public GetClass ( string nsName, string name ) : |
||
nsName | string | The namespace of the class. |
name | string | The name of the class. |
Результат |
public GetClasses ( ) : PERWAPI.ClassRef[] | ||
Результат | PERWAPI.ClassRef[] |
public GetField ( string name ) : |
||
name | string | field name |
Результат |
public GetMethod ( string name ) : |
||
name | string | The name of the method. |
Результат |
public GetMethod ( string name, Type parTypes ) : |
||
name | string | The name of the method |
parTypes | Type | The signature of the method. |
Результат |
public GetMethod ( string name, Type parTypes, Type optPars ) : |
||
name | string | The name of the method. |
parTypes | Type | The signature of the method. |
optPars | Type | The optional parameters of the vararg method. |
Результат |
public GetMethods ( ) : PERWAPI.MethodRef[] | ||
Результат | PERWAPI.MethodRef[] |
public GetMethods ( string name ) : PERWAPI.MethodRef[] | ||
name | string | The name of the method(s). |
Результат | PERWAPI.MethodRef[] |
public RemoveMethod ( |
||
meth | The method to be deleted. | |
Результат | void |
public RemoveMethod ( int index ) : void | ||
index | int | The index of the method to be deleted. Index /// into array returned by GetMethods(). |
Результат | void |
public RemoveMethod ( string name ) : void | ||
name | string | The name of the method to delete. |
Результат | void |
public RemoveMethod ( string name, Type parTypes ) : void | ||
name | string | The name of the method to be deleted. |
parTypes | Type | The signature of the method to be deleted. |
Результат | void |
public RemoveMethod ( string name, Type parTypes, Type optTypes ) : void | ||
name | string | The name of the method to be deleted. |
parTypes | Type | The signature of the method to be deleted. |
optTypes | Type | The optional parameters of the vararg method. |
Результат | void |