Class JavaInput.Token

java.lang.Object
com.google.googlejavaformat.java.JavaInput.Token
All Implemented Interfaces:
Input.Token
Enclosing class:
JavaInput

static final class JavaInput.Token extends Object implements Input.Token
A JavaInput.Token contains a token JavaInput.Tok and its associated non-tokens; each non-token JavaInput.Tok belongs to one JavaInput.Token. Each JavaInput.Token has an immutable list of its non-tokens that appear before it, and another list of its non-tokens that appear after it. The concatenation of the texts of all the JavaInput.Tokens' JavaInput.Toks, each preceded by the texts of its toksBefore and followed by the texts of its toksAfter, equals the input.