org.drools.compiler.lang.DRLParser Maven / Gradle / Ivy
package org.drools.compiler.lang;
import org.antlr.runtime.RecognitionException;
import org.drools.compiler.compiler.DroolsParserException;
import org.drools.compiler.lang.descr.PackageDescr;
import org.kie.api.io.Resource;
import java.util.LinkedList;
import java.util.List;
public interface DRLParser {
PackageDescr compilationUnit() throws RecognitionException;
PackageDescr compilationUnit(Resource resource) throws RecognitionException;
void enableEditorInterface();
void disableEditorInterface();
LinkedList getEditorInterface();
List getErrors();
boolean hasErrors();
List getErrorMessages();
void reportError( RecognitionException ex );
void reportError( Exception ex );
String chunk( int leftDelimiter, int rightDelimiter, int location );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy