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

Method append

python/languagerepresentation.py:151–157  ·  view source on GitHub ↗

Appends a token or list of tokens to the output.

(self, tokens: Union['architecture.InstructionTextToken', List['architecture.InstructionTextToken']])

Source from the content-addressed store, hash-verified

149 core.BNHighLevelILTokenEmitterFinalize(self.handle)
150
151 def append(self, tokens: Union['architecture.InstructionTextToken', List['architecture.InstructionTextToken']]):
152 """Appends a token or list of tokens to the output."""
153 if not isinstance(tokens, list):
154 tokens = [tokens]
155 buf = architecture.InstructionTextToken._get_core_struct(tokens)
156 for i in range(len(tokens)):
157 core.BNHighLevelILTokenEmitterAppend(self.handle, buf[i])
158
159 def append_open_paren(self):
160 """Appends an open parenthesis (``(``) to the output."""

Callers 8

linesMethod · 0.45
_external_ref_takenMethod · 0.45
get_expr_textMethod · 0.45
get_linear_linesMethod · 0.45
get_block_linesMethod · 0.45
registerMethod · 0.45
function_type_tokensMethod · 0.45

Calls 1

_get_core_structMethod · 0.80

Tested by

no test coverage detected