mirror of
https://github.com/open-goal/opengoal-vscode.git
synced 2024-10-19 20:47:37 -04:00
decomp: allow renaming args in behaviors (#115)
This commit is contained in:
parent
98b7f309ac
commit
f5037493b3
|
@ -15,7 +15,10 @@ export function getSymbolsArgumentInfo(
|
|||
line: string,
|
||||
symbol: string
|
||||
): ArgumentMeta | undefined {
|
||||
const isArgument = line.includes("defun") || line.includes("defmethod");
|
||||
const isArgument =
|
||||
line.includes("defun") ||
|
||||
line.includes("defmethod") ||
|
||||
line.includes("defbehavior");
|
||||
// TODO - 'new' method handling
|
||||
const isMethod = line.includes("defmethod"); // if it's a method, make the first arg be `obj`
|
||||
// If it's an argument, we have to figure out the index
|
||||
|
|
Loading…
Reference in a new issue