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

Method ParseFatArrow

source/script.cpp:5702–5713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5700
5701
5702ResultType Script::ParseFatArrow(LPTSTR aArgText, LPTSTR aArgMap, DerefList &aDeref
5703 , LPTSTR aPrmStart, LPTSTR aPrmEnd, LPTSTR aExpr, LPTSTR &aExprEnd)
5704{
5705 if (!aDeref.Push())
5706 return ScriptError(ERR_OUTOFMEM);
5707 int expr_start_pos = int(aExpr - aArgText);
5708 int expr_end_pos = FindExprDelim(aArgText, 0, expr_start_pos, aArgMap);
5709 if (!ParseFatArrow(*aDeref.Last(), aPrmStart, aPrmEnd, aExpr, aArgText + expr_end_pos, aArgMap + expr_start_pos))
5710 return FAIL;
5711 aExprEnd = aArgText + expr_end_pos;
5712 return OK;
5713}
5714
5715
5716ResultType Script::ParseFatArrow(DerefType &aDeref, LPTSTR aPrmStart, LPTSTR aPrmEnd, LPTSTR aExpr, LPTSTR aExprEnd, LPTSTR aExprMap)

Callers

nothing calls this directly

Calls 4

FindExprDelimFunction · 0.85
sntprintfFunction · 0.85
LastMethod · 0.80
PushMethod · 0.45

Tested by

no test coverage detected