def _docf(self, tag, val):
<EOL>if tag == '<STR_LIT>':<EOL><INDENT>if '<STR_LIT::>' in val:<EOL><INDENT>val, version = val.split('<STR_LIT::>', <NUM_LIT:1>)<EOL>version = int(version)<EOL><DEDENT>else:<EOL><INDENT>version = <NUM_LIT:1><EOL><DEDENT>url = fmt_url(self.cur_namespace.name, val, version)<EOL>return url[(len(self.cur_namespace.name) + <NUM_LIT:1>):]<EOL><DEDENT>return val<EOL>
Callback used as the handler argument to process_docs(). This converts
Stone doc references to JSDoc-friendly annotations.