Uses of Interface
com.google.googlejavaformat.Input.Token
Packages that use Input.Token
-
Uses of Input.Token in com.google.googlejavaformat
Fields in com.google.googlejavaformat declared as Input.TokenMethods in com.google.googlejavaformat that return Input.TokenModifier and TypeMethodDescription(package private) Input.TokenDoc.Token.getToken()Return the wrappedInput.Token.abstract Input.TokenInput.getToken(int k) Get the Token by index.Methods in com.google.googlejavaformat that return types with arguments of type Input.TokenModifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableRangeMap<Integer, ? extends Input.Token> Input.getPositionTokenMap()A map from [start, end] position ranges toInput.Tokens.abstract com.google.common.collect.ImmutableList<? extends Input.Token> Input.getTokens()Get the input tokens.Methods in com.google.googlejavaformat with parameters of type Input.TokenModifier and TypeMethodDescriptionprivate static intOpsBuilder.getI(Input.Token token) (package private) static OpDoc.Token.make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Make aToken.abstract voidOutput.markForPartialFormat(Input.Token start, Input.Token end) Marks a region that can be partially formatted.Constructors in com.google.googlejavaformat with parameters of type Input.TokenModifierConstructorDescriptionprivateToken(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) -
Uses of Input.Token in com.google.googlejavaformat.java
Classes in com.google.googlejavaformat.java that implement Input.TokenModifier and TypeClassDescription(package private) static final classAJavaInput.Tokencontains a tokenJavaInput.Tokand its associated non-tokens; each non-tokenJavaInput.Tokbelongs to oneJavaInput.Token.Fields in com.google.googlejavaformat.java with type parameters of type Input.TokenModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList<Input.Token> ModifierOrderer.ModifierTokens.tokensMethods in com.google.googlejavaformat.java that return Input.TokenModifier and TypeMethodDescriptionprivate Input.TokenModifierOrderer.ModifierTokens.first()private Input.TokenModifierOrderer.ModifierTokens.last()Methods in com.google.googlejavaformat.java that return types with arguments of type Input.TokenModifier and TypeMethodDescriptionprivate static Optional<? extends Input.Token> JavaInputAstVisitor.getNextToken(Input input, int position) com.google.common.collect.ImmutableList<? extends Input.Token> JavaInput.getTokens()Get the input tokens.(package private) com.google.common.collect.ImmutableList<Input.Token> ModifierOrderer.ModifierTokens.tokens()Methods in com.google.googlejavaformat.java with parameters of type Input.TokenModifier and TypeMethodDescriptionprivate static @Nullable ModifierModifierOrderer.asModifier(Input.Token token) Returns the given token as aModifier, ornullif it is not a modifier.static Input.TokJavaOutput.endTok(Input.Token token) The last non-whitespace Tok in the Token.voidJavaOutput.markForPartialFormat(Input.Token start, Input.Token end) static intJavaOutput.startPosition(Input.Token token) The earliest position of any Tok in the Token, including leading whitespace.static Input.TokJavaOutput.startTok(Input.Token token) The earliest non-whitespace Tok in the Token.Method parameters in com.google.googlejavaformat.java with type arguments of type Input.TokenModifier and TypeMethodDescriptionprivate static @Nullable ModifierModifierOrderer.asModifier(com.google.common.collect.ImmutableList<Input.Token> tokens) (package private) static ModifierOrderer.ModifierTokensModifierOrderer.ModifierTokens.create(com.google.common.collect.ImmutableList<Input.Token> tokens) private static @Nullable ModifierOrderer.ModifierTokensModifierOrderer.getModifierTokens(Iterator<? extends Input.Token> it) Constructor parameters in com.google.googlejavaformat.java with type arguments of type Input.TokenModifierConstructorDescription(package private)ModifierTokens(com.google.common.collect.ImmutableList<Input.Token> tokens, Modifier modifier)