File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,11 @@ def __init__(self, json_pp):
9090 self .callee_decl = json_pp .get ("callee_decl" , "None" )
9191 elif self .kind == "BlockEntrance" :
9292 self .block_id = json_pp ["block_id" ]
93+ elif self .kind == "PostInitializer" :
94+ if "field_decl" in json_pp :
95+ self .target = json_pp ["field_decl" ]
96+ else :
97+ self .target = json_pp ["type" ]
9398
9499
95100# A single expression acting as a key in a deserialized Environment.
@@ -627,6 +632,13 @@ def visit_program_point(self, p):
627632 '<font color="%s">%s</font></td>'
628633 '<td align="left">%s</td></tr>' % (color , p .kind , p .callee_decl )
629634 )
635+ elif p .kind == "PostInitializer" :
636+ self ._dump (
637+ '<td width="0"></td>'
638+ '<td align="left" width="0">'
639+ '<font color="%s">%s</font></td>'
640+ '<td align="left">%s</td></tr>' % (color , p .kind , p .target )
641+ )
630642 else :
631643 # TODO: Print more stuff for other kinds of points.
632644 self ._dump (
You can’t perform that action at this time.
0 commit comments