public final class TokenUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Token> |
TOKEN_ORDER_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(Token[] tokens,
Token element) |
static boolean |
contentEquals(@Nullable TokenInfo representation,
Token... tokens) |
static boolean |
hasName(Token token,
String name) |
static boolean |
isTypeOf(TokenInfo representation,
TokenType type) |
static TokenInfo[] |
toPseudoRepresentations(Token... tokens) |
static boolean |
valueEquals(Token token,
String... contents) |
public static final Comparator<Token> TOKEN_ORDER_COMPARATOR
Copyright © 2020. All rights reserved.