Uses of Class
com.google.googlejavaformat.java.javadoc.Token
-
Packages that use Token Package Description com.google.googlejavaformat.java.javadoc -
-
Uses of Token in com.google.googlejavaformat.java.javadoc
Fields in com.google.googlejavaformat.java.javadoc declared as Token Modifier and Type Field Description private TokenJavadocWriter. requestedMoeBeginStripCommentprivate static TokenJavadocFormatter. STANDARD_BR_TOKENprivate static TokenJavadocFormatter. STANDARD_P_TOKENMethods in com.google.googlejavaformat.java.javadoc that return Token Modifier and Type Method Description private TokenJavadocLexer. readToken()private static TokenJavadocFormatter. standardize(Token token, Token standardToken)private static TokenJavadocFormatter. standardizeBrToken(Token token)private static TokenJavadocFormatter. standardizePToken(Token token)Methods in com.google.googlejavaformat.java.javadoc that return types with arguments of type Token Modifier and Type Method Description private static com.google.common.collect.ImmutableList<Token>JavadocLexer. deindentPreCodeBlocks(java.util.List<Token> input)Adjust indentation inside `private com.google.common.collect.ImmutableList<Token>JavadocLexer. generateTokens()private static com.google.common.collect.ImmutableList<Token>JavadocLexer. inferParagraphTags(java.util.List<Token> input)Where the input has two consecutive line breaks between literals, insert a<p>tag between the literals.private static com.google.common.collect.ImmutableList<Token>JavadocLexer. joinAdjacentLiteralsAndAdjacentWhitespace(java.util.List<Token> input)Join together adjacent literal tokens, and join together adjacent whitespace tokens.(package private) static com.google.common.collect.ImmutableList<Token>JavadocLexer. lex(java.lang.String input)Takes a Javadoc comment, including ∕✱✱ and ✱∕, and returns tokens, including ∕✱✱ and ✱∕.private static com.google.common.collect.ImmutableList<Token>JavadocLexer. optionalizeSpacesAfterLinks(java.util.List<Token> input)Replaces whitespace after ahref=...>token with an "optional link break." This allows us to output either<a href=foo>foo</a>or<a href=foo>\nfoo</a>, depending on how much space we have left on the line.Methods in com.google.googlejavaformat.java.javadoc with parameters of type Token Modifier and Type Method Description (package private) voidJavadocWriter. requestMoeBeginStripComment(Token token)private static TokenJavadocFormatter. standardize(Token token, Token standardToken)private static TokenJavadocFormatter. standardizeBrToken(Token token)private static TokenJavadocFormatter. standardizePToken(Token token)(package private) voidJavadocWriter. writeBlockquoteOpenOrClose(Token token)(package private) voidJavadocWriter. writeBr(Token token)(package private) voidJavadocWriter. writeCodeClose(Token token)(package private) voidJavadocWriter. writeCodeOpen(Token token)(package private) voidJavadocWriter. writeFooterJavadocTagStart(Token token)(package private) voidJavadocWriter. writeHeaderClose(Token token)(package private) voidJavadocWriter. writeHeaderOpen(Token token)(package private) voidJavadocWriter. writeHtmlComment(Token token)(package private) voidJavadocWriter. writeListClose(Token token)(package private) voidJavadocWriter. writeListItemOpen(Token token)(package private) voidJavadocWriter. writeListOpen(Token token)(package private) voidJavadocWriter. writeLiteral(Token token)(package private) voidJavadocWriter. writeMoeEndStripComment(Token token)(package private) voidJavadocWriter. writeParagraphOpen(Token token)(package private) voidJavadocWriter. writePreClose(Token token)(package private) voidJavadocWriter. writePreOpen(Token token)(package private) voidJavadocWriter. writeTableClose(Token token)(package private) voidJavadocWriter. writeTableOpen(Token token)private voidJavadocWriter. writeToken(Token token)Method parameters in com.google.googlejavaformat.java.javadoc with type arguments of type Token Modifier and Type Method Description private static voidJavadocLexer. deindentPreCodeBlock(com.google.common.collect.ImmutableList.Builder<Token> output, com.google.common.collect.PeekingIterator<Token> tokens)private static voidJavadocLexer. deindentPreCodeBlock(com.google.common.collect.ImmutableList.Builder<Token> output, com.google.common.collect.PeekingIterator<Token> tokens)private static com.google.common.collect.ImmutableList<Token>JavadocLexer. deindentPreCodeBlocks(java.util.List<Token> input)Adjust indentation inside `private static com.google.common.collect.ImmutableList<Token>JavadocLexer. inferParagraphTags(java.util.List<Token> input)Where the input has two consecutive line breaks between literals, insert a<p>tag between the literals.private static com.google.common.collect.ImmutableList<Token>JavadocLexer. joinAdjacentLiteralsAndAdjacentWhitespace(java.util.List<Token> input)Join together adjacent literal tokens, and join together adjacent whitespace tokens.private static com.google.common.collect.ImmutableList<Token>JavadocLexer. optionalizeSpacesAfterLinks(java.util.List<Token> input)Replaces whitespace after ahref=...>token with an "optional link break." This allows us to output either<a href=foo>foo</a>or<a href=foo>\nfoo</a>, depending on how much space we have left on the line.private static java.lang.StringJavadocFormatter. render(java.util.List<Token> input, int blockIndent)
-