equal
deleted
inserted
replaced
2995 ^self methodArgAndVarNames |
2995 ^self methodArgAndVarNames |
2996 |
2996 |
2997 "Created: / 18-12-2012 / 18:17:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2997 "Created: / 18-12-2012 / 18:17:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2998 ! |
2998 ! |
2999 |
2999 |
|
3000 methodArgAndVarNamesInContextForInspector:context |
|
3001 "return a collection with the method's argument and variable names. |
|
3002 Uses Parser to parse methods source and extract the names. |
|
3003 Returns nil if the source is not available, or some other |
|
3004 syntax/parse error occurred. For methods with no args and no vars, |
|
3005 an empty collection is returned." |
|
3006 |
|
3007 ^self methodArgAndVarNamesInContext: context |
|
3008 ! |
|
3009 |
3000 methodArgNames |
3010 methodArgNames |
3001 "return a collection with the method's argument names. |
3011 "return a collection with the method's argument names. |
3002 Uses Parser to parse the method's source and extract the names." |
3012 Uses Parser to parse the method's source and extract the names." |
3003 |
3013 |
3004 ^ self parse:#parseMethodSpecificationSilent: return:#methodArgs or:nil |
3014 ^ self parse:#parseMethodSpecificationSilent: return:#methodArgs or:nil |