public class JavacTokens extends Object
| Constructor and Description |
|---|
JavacTokens() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableList<com.google.googlejavaformat.java.JavacTokens.RawTok> |
getTokens(String source,
org.openjdk.tools.javac.util.Context context,
Set<org.openjdk.tools.javac.parser.Tokens.TokenKind> stopTokens)
Lex the input and return a list of
RawToks. |
public static ImmutableList<com.google.googlejavaformat.java.JavacTokens.RawTok> getTokens(String source, org.openjdk.tools.javac.util.Context context, Set<org.openjdk.tools.javac.parser.Tokens.TokenKind> stopTokens)
RawToks.Copyright © 2015–2017 Google Inc.. All rights reserved.