Added Function.tokenize(source, addType, throwErrors) and Function.getTokenType(str)