Uses of Interface
com.google.googlejavaformat.Input.Token
-
Packages that use Input.Token Package Description com.google.googlejavaformat com.google.googlejavaformat.java -
-
Uses of Input.Token in com.google.googlejavaformat
Fields in com.google.googlejavaformat declared as Input.Token Modifier and Type Field Description private Input.TokenDoc.Token. tokenMethods in com.google.googlejavaformat that return Input.Token Modifier and Type Method Description (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.Token Modifier and Type Method Description abstract com.google.common.collect.ImmutableRangeMap<java.lang.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.Token Modifier and Type Method Description private static intOpsBuilder. getI(Input.Token token)(package private) static OpDoc.Token. make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.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.Token Constructor Description Token(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment) -
Uses of Input.Token in com.google.googlejavaformat.java
Classes in com.google.googlejavaformat.java that implement Input.Token Modifier and Type Class Description (package private) static classJavaInput.TokenAJavaInput.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.Token Modifier and Type Field Description private com.google.common.collect.ImmutableList<Input.Token>ModifierOrderer.ModifierTokens. tokensMethods in com.google.googlejavaformat.java that return Input.Token Modifier and Type Method Description private Input.TokenModifierOrderer.ModifierTokens. first()private Input.TokenModifierOrderer.ModifierTokens. last()Methods in com.google.googlejavaformat.java that return types with arguments of type Input.Token Modifier and Type Method Description private static java.util.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.Token Modifier and Type Method Description private static @Nullable javax.lang.model.element.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.Token Modifier and Type Method Description private static @Nullable javax.lang.model.element.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(java.util.Iterator<? extends Input.Token> it)Constructor parameters in com.google.googlejavaformat.java with type arguments of type Input.Token Constructor Description ModifierTokens(com.google.common.collect.ImmutableList<Input.Token> tokens, javax.lang.model.element.Modifier modifier)
-