Uses of Class
com.google.googlejavaformat.java.javadoc.Token
Packages that use Token
-
Uses of Token in com.google.googlejavaformat.java.javadoc
Fields in com.google.googlejavaformat.java.javadoc declared as TokenModifier and TypeFieldDescriptionprivate TokenJavadocWriter.requestedMoeBeginStripCommentprivate static final TokenJavadocFormatter.STANDARD_BR_TOKENprivate static final TokenJavadocFormatter.STANDARD_P_TOKENMethods in com.google.googlejavaformat.java.javadoc that return TokenModifier and TypeMethodDescriptionprivate 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 TokenModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<Token> JavadocLexer.deindentPreCodeBlocks(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(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(List<Token> input) Join together adjacent literal tokens, and join together adjacent whitespace tokens.(package private) static com.google.common.collect.ImmutableList<Token> Takes a Javadoc comment, including ∕✱✱ and ✱∕, and returns tokens, including ∕✱✱ and ✱∕.private static com.google.common.collect.ImmutableList<Token> JavadocLexer.optionalizeSpacesAfterLinks(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 TokenModifier and TypeMethodDescription(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) void(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 TokenModifier and TypeMethodDescriptionprivate 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(List<Token> input) Adjust indentation inside `private static com.google.common.collect.ImmutableList<Token> JavadocLexer.inferParagraphTags(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(List<Token> input) Join together adjacent literal tokens, and join together adjacent whitespace tokens.private static com.google.common.collect.ImmutableList<Token> JavadocLexer.optionalizeSpacesAfterLinks(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 String