| Package | Description |
|---|---|
| com.google.googlejavaformat | |
| com.google.googlejavaformat.java |
| Modifier and Type | Method and Description |
|---|---|
Input.Tok |
Input.Token.getTok()
Get the token's
Input.Tok. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<? extends Input.Tok> |
Input.Token.getToksAfter()
Get the later
Input.Toks assigned to this Token. |
ImmutableList<? extends Input.Tok> |
Input.Token.getToksBefore()
Get the earlier
Input.Toks assigned to this Token. |
| Modifier and Type | Method and Description |
|---|---|
String |
CommentsHelper.rewrite(Input.Tok tok,
int maxWidth,
int column0)
Try to rewrite comments, returning rewritten text.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
InputOutput.computeRanges(List<? extends Input.Tok> toks) |
| Modifier and Type | Method and Description |
|---|---|
static Input.Tok |
JavaOutput.endTok(Input.Token token)
The last non-whitespace Tok in the Token.
|
static Input.Tok |
JavaOutput.startTok(Input.Token token)
The earliest non-whitespace Tok in the Token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JavaCommentsHelper.rewrite(Input.Tok tok,
int maxWidth,
int column0) |
Copyright © 2015–2017 Google Inc.. All rights reserved.