def format_symbol(self, symbol, link_resolver):
if not symbol:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if isinstance(symbol, FieldSymbol):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>out = self._format_symbol(symbol)<EOL>template = self.get_template('<STR_LIT>')<EOL>return template.render(<EOL>{'<STR_LIT>': symbol,<EOL>'<STR_LIT>': out})<EOL>
Format a symbols.Symbol