def display(self):
<EOL>sym_name = "<STR_LIT>"<EOL>sym_len = max(max(len(i.name) for i in self.table),len(sym_name))<EOL>kind_name = "<STR_LIT>"<EOL>kind_len = max(max(len(SharedData.KINDS[i.kind]) for i in self.table),len(kind_name))<EOL>type_name = "<STR_LIT>"<EOL>type_len = max(max(len(SharedData.TYPES[i.type]) for i in self.table),len(type_name))<EOL>attr_name = "<STR_LIT>"<EOL>attr_len = max(max(len(i.attribute_str()) for i in self.table),len(attr_name))<EOL>print("<STR_LIT>".format("<STR_LIT>", sym_name, sym_len, kind_name, kind_len, type_name, type_len, attr_name, attr_len, "<STR_LIT>"))<EOL>print("<STR_LIT>" + "<STR_LIT:->" * (sym_len + kind_len + type_len + attr_len))<EOL>for i,sym in enumerate(self.table):<EOL><INDENT>parameters = "<STR_LIT>"<EOL>for p in sym.param_types:<EOL><INDENT>if parameters == "<STR_LIT>":<EOL><INDENT>parameters = "<STR_LIT>".format(SharedData.TYPES[p])<EOL><DEDENT>else:<EOL><INDENT>parameters += "<STR_LIT>".format(SharedData.TYPES[p])<EOL><DEDENT><DEDENT>print("<STR_LIT>".format(i, sym.name, sym_len, SharedData.KINDS[sym.kind], kind_len, SharedData.TYPES[sym.type], type_len, sym.attribute_str(), attr_len, parameters))<EOL><DEDENT>
Displays the symbol table content