sleep.parser
public class ParserUtilities extends Object
Method Summary | |
---|---|
static Token | combineTokens(Token a, Token b) |
static Token | extract(Token temp) |
static String | extract(String temp) |
static Token[] | get(Token[] t, int a, int b) |
static TokenList | groupByBlockTerm(Parser parser, Token smokin) breaks down the token into sub tokens that are one "term" wide, in the case of blocks separated by ; |
static TokenList | groupByMessageTerm(Parser parser, Token smokin) breaks down the token into sub tokens that are one "term" wide, in the case of messages separated by : |
static TokenList | groupByParameterTerm(Parser parser, Token smokin) breaks down the token into sub tokens that are one "term" wide, a termi in the case of parameters it uses , |
static Token | join(Token[] temp) |
static String | join(String[] temp, String with) |
static Token | makeToken(String token, Token a) |