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

Method InitTokenEmitter

lang/c/pseudoc.cpp:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16void PseudoCFunction::InitTokenEmitter(HighLevelILTokenEmitter& tokens)
17{
18 // Braces must always be turned on for C
19 tokens.SetBraceRequirement(BracesAlwaysRequired);
20
21 // For switch cases in C, declarations inside aren't scoped by default. Add braces around the cases
22 // to give them scope.
23 tokens.SetBracesAroundSwitchCases(true);
24
25 tokens.SetHasCollapsableRegions(true);
26}
27
28
29void PseudoCFunction::BeginLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens)

Callers

nothing calls this directly

Calls 3

SetBraceRequirementMethod · 0.80

Tested by

no test coverage detected