Package org.drools.compiler.lang
Interface DRLParser
-
- All Known Implementing Classes:
AbstractDRLParser
,DRL5Parser
,DRL6Parser
,DRL6StrictParser
public interface DRLParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
chunk(int leftDelimiter, int rightDelimiter, int location)
PackageDescr
compilationUnit()
PackageDescr
compilationUnit(org.kie.api.io.Resource resource)
void
disableEditorInterface()
void
enableEditorInterface()
LinkedList<DroolsSentence>
getEditorInterface()
List<String>
getErrorMessages()
List<DroolsParserException>
getErrors()
boolean
hasErrors()
void
reportError(Exception ex)
void
reportError(org.antlr.runtime.RecognitionException ex)
-
-
-
Method Detail
-
compilationUnit
PackageDescr compilationUnit() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
compilationUnit
PackageDescr compilationUnit(org.kie.api.io.Resource resource) throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
enableEditorInterface
void enableEditorInterface()
-
disableEditorInterface
void disableEditorInterface()
-
getEditorInterface
LinkedList<DroolsSentence> getEditorInterface()
-
getErrors
List<DroolsParserException> getErrors()
-
hasErrors
boolean hasErrors()
-
reportError
void reportError(org.antlr.runtime.RecognitionException ex)
-
reportError
void reportError(Exception ex)
-
chunk
String chunk(int leftDelimiter, int rightDelimiter, int location)
-
-