<%=basename%>: API索引


<% for (var i = 0, l = comments.length; i < l; i++) { var comment = comments[i]; if (comment.ignore) { continue; } %> <% if (comment.ctx) { %>

<%=comment.ctx.name%>

<% } %> <% if (comment.code) { %> <%-comment.description.full%> <% } %> <% if (comment.ctx) { %> <% } %> <% for (var j = 0, k = comment.tags.length; j < k; j++) { var tag = comment.tags[j]; switch (tag.type) { case 'return': %> <% break; case 'param': %> <% break; case 'api': %> <% break; case 'example': %> <% break; case 'exception': %> <% break; case 'callmethod': %> <% break; default:%> <% } %> <% } %> <% if (comment.code && options.outputSourceFiles) { %> <% } %>
<%=types[comment.ctx.type] %> <%=comment.ctx.string %> <%=comment.ctx.receiver %> <%=comment.ctx.name %>
<%=types[tag.type]%> <%=tag.types && tag.types.join(',')%>
<%=tag.description%>
<%=types[tag.type]%> <%=tag.name%>(<%=tag.types && tag.types.join(',')%>) <%=tag.description%>
<%=types[tag.type]%> <%=tag.visibility%>
<%=types[tag.type]%>
<%=tag.string%>
<%=types[tag.type]%> <%=tag.string%>
<%=types[tag.type]%> <%=tag.string%>
<%=types[tag.type]%> <%=tag.types && tag.types.join(',')%> <%=tag.name%> <%=tag.description%>
代码
<%=comment.code%>
<% } %>