final DRLParser parser) throws DroolsParserException {
try {
if ( isEditor ) {
parser.enableEditorInterface();
}
DroolsTree resultTree = (DroolsTree) parser.compilation_unit().getTree();
editorSentences = parser.getEditorInterface();
makeErrorList( parser );
if ( isEditor || !this.hasErrors() ) {
return walk( parser.getTokenStream(),
resultTree );