프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 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 ( 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 |