Drools :: Compiler 6.2.0.Final

org.drools.compiler.lang
Interface DRLParser

All Known Implementing Classes:
AbstractDRLParser, DRL5Parser, DRL6Parser, DRL6StrictParser

public interface DRLParser


Method Summary
 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()

getErrorMessages

List<String> getErrorMessages()

reportError

void reportError(org.antlr.runtime.RecognitionException ex)

reportError

void reportError(Exception ex)

chunk

String chunk(int leftDelimiter,
             int rightDelimiter,
             int location)

Drools :: Compiler 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.