*/
private ArrayList<Token> TokenizeText(String text){
StringReader stringReader=new StringReader(text);
CharStream stream=new CharStream(stringReader);
stream.setTabSize(1); //set the tab size to 1 in order to match string index
VhdlParserCoreTokenManager tokenManager=new VhdlParserCoreTokenManager(stream);
Token token=null;
ArrayList <Token> results=new ArrayList<Token>();
do{
token=tokenManager.getNextToken();
if(token.kind != VhdlParserCoreTokenManager.EOF){
results.add(token);
}
}while(token.kind != VhdlParserCoreTokenManager.EOF);