Method | Description | |
---|---|---|
Parse ( |
Parses method calls
|
Method | Description | |
---|---|---|
CanCoerce ( List |
Determines if it is possible to coerce the given list of arguments so a method signature can be matched.
|
|
GetObjArgs ( List |
Converts list of CseObject arguments into a object array using their Value property
|
|
GetTypeArray ( List |
Converts list of CseObject arguments into a type array using either their CompileTimeType property or if that is null, using GetType() on their Value property.
|
|
NarrowAllIntTypes ( List |
Inspects all CseObjects in args and for the literal integral values, it converts their type to the most narrow type that can contain their value. E.g. if the value is a literal 300 (not the value of an identifier as those types aren't changed), then the smallest integral data type that can store that would be a short. This increases the chance that the given args will match a wider method signature.
|
public static Parse ( |
||
environment | The environment containing the method | |
methName | string | Name of the method |
args | List |
CseObject array containing arguments to be sent to the method. Each CseObject is one argument |
return |