}
private synchronized void parse(String text) {
try {
ANTLRStringStream ss = new ANTLRStringStream(text);
QuorumLexer lexer = new QuorumLexer(ss);
lexer.getNumberOfSyntaxErrors();
CommonTokenStream tokens = new CommonTokenStream(lexer);
//do a parse to check for matches
QuorumParser parser = new QuorumParser(tokens);
parser.setMatcher(matcher);