MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / __post_init__

Method __post_init__

aura/analyzers/python/nodes.py:136–153  ·  view source on GitHub ↗
(self, *args, previous_node=None, **kwargs)

Source from the content-addressed store, hash-verified

134
135class ASTNode(KeepRefs, metaclass=ABCMeta):
136 def __post_init__(self, *args, previous_node=None, **kwargs):
137 self._full_name = None
138 self._original = None
139 self._docs = None
140 self._converged: bool = False
141 self.line_no = None
142 self.col = None
143 self.end_line_no = None
144 self.end_col = None
145
146 if previous_node is not None:
147 self.enrich_from_previous(previous_node)
148
149 self.tags = set()
150 self._hash = None
151 self._taint_class: Taints = Taints.UNKNOWN
152 self._taint_locked: bool = False
153 self._taint_log: typing.List[TaintLog] = []
154
155 def enrich_from_previous(self, node: typing.Union[dict, ASTNode]):
156 """

Callers

nothing calls this directly

Calls 1

enrich_from_previousMethod · 0.95

Tested by

no test coverage detected