Uses of Interface
com.google.googlejavaformat.Input.Tok
Packages that use Input.Tok
-
Uses of Input.Tok in com.google.googlejavaformat
Methods in com.google.googlejavaformat that return Input.TokMethods in com.google.googlejavaformat that return types with arguments of type Input.TokModifier and TypeMethodDescriptionImmutableList<? extends Input.Tok>Input.Token.getToksAfter()Get the laterInput.Toks assigned to thisToken.ImmutableList<? extends Input.Tok>Input.Token.getToksBefore()Get the earlierInput.Toks assigned to thisToken.OpsBuilder.peekTokens(int startPosition, Predicate<Input.Tok> predicate)Returns theInput.Toks starting at the current source position, which are satisfied by the given predicate.Methods in com.google.googlejavaformat with parameters of type Input.TokModifier and TypeMethodDescriptionTry to rewrite comments, returning rewritten text.Method parameters in com.google.googlejavaformat with type arguments of type Input.TokModifier and TypeMethodDescriptionprotected voidInputOutput.computeRanges(List<? extends Input.Tok> toks)OpsBuilder.peekTokens(int startPosition, Predicate<Input.Tok> predicate)Returns theInput.Toks starting at the current source position, which are satisfied by the given predicate. -
Uses of Input.Tok in com.google.googlejavaformat.java
Methods in com.google.googlejavaformat.java that return Input.TokModifier and TypeMethodDescriptionstatic Input.TokJavaOutput.endTok(Input.Token token)The last non-whitespace Tok in the Token.static Input.TokJavaOutput.startTok(Input.Token token)The earliest non-whitespace Tok in the Token.Methods in com.google.googlejavaformat.java with parameters of type Input.Tok