public interface Token
| Modifier and Type | Method and Description |
|---|---|
String |
asText()
Convert this token into corresponding string.
|
static String |
asText(List<Token> tokens)
Convert the given tokens into corresponding string.
|
static void |
removeComments(List<Token> tokens)
Remove comment tokens.
|
static List<List<Token>> |
splitBySpecialCharacter(List<Token> tokens,
char sc)
Split into lists of tokens, using the given special character.
|
static void |
trim(List<Token> tokens)
Remove any leading or trailing space tokens.
|
String asText()
Copyright © 2018. All rights reserved.