MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / PreprocessLocalVars

Method PreprocessLocalVars

source/script.cpp:13411–13423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13409
13410
13411ResultType Script::PreprocessLocalVars(FuncList &aFuncs)
13412{
13413 for (int i = 0; i < aFuncs.mCount; ++i)
13414 {
13415 ASSERT(!aFuncs.mItem[i]->IsBuiltIn());
13416 auto &func = *(UserFunc *)aFuncs.mItem[i];
13417 if (!PreprocessLocalVars(func))
13418 return FAIL;
13419 // Nested functions will be preparsed next, due to the fact that they immediately
13420 // follow the outer function in aFuncs.
13421 }
13422 return OK;
13423}
13424
13425
13426

Callers

nothing calls this directly

Calls 10

HasObjectMethod · 0.80
IsAliasMethod · 0.80
IsStaticMethod · 0.80
IsObjectMethod · 0.80
GetAliasForMethod · 0.80
IsBuiltInMethod · 0.45
TypeMethod · 0.45
ObjectMethod · 0.45
FindMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected