Property | Type | Description | |
---|---|---|---|
defaultClass |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 |
return |
public AddClass ( |
||
newClass | The class to be added | |
return | void |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
return |
public AddField ( |
||
fld | The field to be added | |
return | void |
public AddMethod ( string name, Type retType, Type pars ) : |
||
name | string | method name |
retType | Type | return type |
pars | Type | method parameter types |
return |
public AddMethod ( |
||
meth | The method to be added. | |
return | void |
public AddValueClass ( string nsName, string name ) : |
||
nsName | string | name space name |
name | string | class name |
return |
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 |
return |
public GetClass ( string name ) : |
||
name | string | The name of the class. |
return |
public GetClass ( string nsName, string name ) : |
||
nsName | string | The namespace of the class. |
name | string | The name of the class. |
return |
public GetField ( string name ) : |
||
name | string | field name |
return |
public GetMethod ( string name ) : |
||
name | string | The name of the method. |
return |
public GetMethod ( string name, Type parTypes ) : |
||
name | string | The name of the method |
parTypes | Type | The signature of the method. |
return |
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. |
return |
public GetMethods ( string name ) : PERWAPI.MethodRef[] | ||
name | string | The name of the method(s). |
return | PERWAPI.MethodRef[] |
public RemoveMethod ( |
||
meth | The method to be deleted. | |
return | void |
public RemoveMethod ( int index ) : void | ||
index | int | The index of the method to be deleted. Index /// into array returned by GetMethods(). |
return | void |
public RemoveMethod ( string name ) : void | ||
name | string | The name of the method to delete. |
return | 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. |
return | 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. |
return | void |