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

Method _to_core_struct

python/lineformatter.py:88–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 )
87
88 def _to_core_struct(self) -> core.BNLineFormatterSettings:
89 result = core.BNLineFormatterSettings()
90 result.highLevelIL = self.hlil.handle
91 result.desiredLineLength = self.desired_line_length
92 result.minimumContentLength = self.minimum_content_length
93 result.tabWidth = self.tab_width
94 result.languageName = self.language_name if self.language_name is not None else ""
95 result.commentStartString = self.comment_start_string
96 result.commentEndString = self.comment_end_string
97 result.annotationStartString = self.annotation_start_string
98 result.annotationEndString = self.annotation_end_string
99 return result
100
101
102class _LineFormatterMetaClass(type):

Callers 1

format_linesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected