Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,14 @@
|
|||
module test {
|
||||
void run() {
|
||||
@Inject Console console;
|
||||
|
||||
String[] names = &this.actualType.multimethods.keys.toArray();
|
||||
console.print($"Method/function names on {this}: {names}");
|
||||
|
||||
Method[] methods = &this.actualType.methods;
|
||||
console.print($"The methods of {this}: {methods}");
|
||||
|
||||
Function[] functions = &this.actualType.functions;
|
||||
console.print($"The functions of {this}: {functions}");
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
##
|
||||
uses System, System.Reflection;
|
||||
|
||||
var flags := BindingFlags.Instance or BindingFlags.Static
|
||||
or BindingFlags.Public or BindingFlags.DeclaredOnly;
|
||||
|
||||
typeof(integer).GetMethods(flags).PrintLines;
|
||||
Loading…
Add table
Add a link
Reference in a new issue