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):
90
90
self .callee_decl = json_pp .get ("callee_decl" , "None" )
91
91
elif self .kind == "BlockEntrance" :
92
92
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" ]
93
98
94
99
95
100
# A single expression acting as a key in a deserialized Environment.
@@ -627,6 +632,13 @@ def visit_program_point(self, p):
627
632
'<font color="%s">%s</font></td>'
628
633
'<td align="left">%s</td></tr>' % (color , p .kind , p .callee_decl )
629
634
)
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
+ )
630
642
else :
631
643
# TODO: Print more stuff for other kinds of points.
632
644
self ._dump (
You can’t perform that action at this time.
0 commit comments