Package | Description |
---|---|
com.google.googlejavaformat | |
com.google.googlejavaformat.java |
Modifier and Type | Method and Description |
---|---|
abstract ImmutableRangeMap<Integer,? extends Input.Token> |
Input.getPositionTokenMap()
A map from [start, end] position ranges to
Input.Token s. |
abstract ImmutableList<? extends Input.Token> |
Input.getTokens()
Get the input tokens.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Output.markForPartialFormat(Input.Token start,
Input.Token end)
Marks a region that can be partially formatted.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<? extends Input.Token> |
JavaInput.getTokens()
Get the input tokens.
|
Modifier and Type | Method and Description |
---|---|
static Input.Tok |
JavaOutput.endTok(Input.Token token)
The last non-whitespace Tok in the Token.
|
void |
JavaOutput.markForPartialFormat(Input.Token start,
Input.Token end) |
static int |
JavaOutput.startPosition(Input.Token token)
The earliest position of any Tok in the Token, including leading whitespace.
|
static Input.Tok |
JavaOutput.startTok(Input.Token token)
The earliest non-whitespace Tok in the Token.
|
Copyright © 2015–2017 Google Inc.. All rights reserved.