sleep.parser
Class ParserUtilities
public class ParserUtilities
static Token | combineTokens(Token a, Token b)
|
static String | extract(String temp)
|
static Token | extract(Token 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 | 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 String | join(String[] temp, String with)
|
static Token | join(Token[] temp)
|
static Token | makeToken(String token, Token a)
|
extract
public static String extract(String temp)
get
public static Token[] get(Token[] t,
int a,
int b)
groupByBlockTerm
public 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 ;
groupByParameterTerm
public 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 ,
join
public static String join(String[] temp,
String with)
makeToken
public static Token makeToken(String token,
Token a)