MCPcopy Create free account
hub / github.com/MTrop/DoomTools / pop

Method pop

src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:947–958  ·  view source on GitHub ↗

Pops the last pushed tag and writes the end tag. @return this writer. @throws EmptyStackException if there are no tags on the stack. @see #push(String) @see #push(String, Attribute...)

()

Source from the content-addressed store, hash-verified

945 * @see #push(String, Attribute...)
946 */
947 public HTMLWriter pop()
948 {
949 String tagName = tagStack.pop();
950 try {
951 writePrettyIndent();
952 writeEndTag(tagName);
953 writePrettyNewline();
954 } catch (IOException e) {
955 error = true;
956 }
957 return this;
958 }
959
960 /**
961 * Starts an HTML document.

Callers 15

endMethod · 0.95
callMethod · 0.45
startRenderMethod · 0.45
startTableOfContentsMethod · 0.45
finishTableOfContentsMethod · 0.45
startSectionMethod · 0.45
startFunctionMethod · 0.45
startUsageMethod · 0.45
writeParameterUsageMethod · 0.45
writeParameterReturnMethod · 0.45
finishFunctionMethod · 0.45

Calls 3

writePrettyIndentMethod · 0.95
writeEndTagMethod · 0.95
writePrettyNewlineMethod · 0.95

Tested by

no test coverage detected