MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / AddTokenToLastAtom

Method AddTokenToLastAtom

formatter/generic/genericformatter.cpp:171–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 void AddTokenToLastAtom(const InstructionTextToken& token)
172 {
173 if (!tokens.empty())
174 tokens.push_back(token);
175 else if (items.empty())
176 items.push_back(Item {Atom, {}, {token}, 0});
177 else
178 items.back().AddTokenToLastAtom(token);
179 }
180
181 void CalculateWidth()
182 {

Callers 5

CreateStatementItemsFunction · 0.80
CreateArgumentItemsFunction · 0.80
FormatLinesMethod · 0.80

Calls 2

push_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected