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

Method FindLocalVar

source/script.h:1686–1693  ·  view source on GitHub ↗

Find a local (not global or nonlocal/outer) variable.

Source from the content-addressed store, hash-verified

1684
1685 // Find a local (not global or nonlocal/outer) variable.
1686 Var *FindLocalVar(LPCTSTR aName, size_t aNameLength)
1687 {
1688 if (Var *var = mVars.Find(aName, aNameLength))
1689 return var;
1690 if (Var *var = mStaticVars.Find(aName, aNameLength))
1691 return var;
1692 return nullptr;
1693 }
1694
1695 bool IsAssumeGlobal()
1696 {

Callers

nothing calls this directly

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected