Search in sources :

Example 6 with QueryDescrBuilder

use of org.drools.drl.ast.dsl.QueryDescrBuilder in project drools by kiegroup.

the class QueryDescrBuilderImpl method lhs.

public CEDescrBuilder<QueryDescrBuilder, AndDescr> lhs() {
    CEDescrBuilder<QueryDescrBuilder, AndDescr> ce = new CEDescrBuilderImpl<QueryDescrBuilder, AndDescr>(this, new AndDescr());
    descr.setLhs(ce.getDescr());
    return ce;
}
Also used : AndDescr(org.drools.drl.ast.descr.AndDescr) QueryDescrBuilder(org.drools.drl.ast.dsl.QueryDescrBuilder)

Aggregations

QueryDescrBuilder (org.drools.drl.ast.dsl.QueryDescrBuilder)6 RecognitionException (org.antlr.runtime.RecognitionException)3 AndDescr (org.drools.drl.ast.descr.AndDescr)1 AttributeDescr (org.drools.drl.ast.descr.AttributeDescr)1 AbstractClassTypeDeclarationBuilder (org.drools.drl.ast.dsl.AbstractClassTypeDeclarationBuilder)1 AccumulateDescrBuilder (org.drools.drl.ast.dsl.AccumulateDescrBuilder)1 AccumulateImportDescrBuilder (org.drools.drl.ast.dsl.AccumulateImportDescrBuilder)1 AttributeDescrBuilder (org.drools.drl.ast.dsl.AttributeDescrBuilder)1 CEDescrBuilder (org.drools.drl.ast.dsl.CEDescrBuilder)1 DeclareDescrBuilder (org.drools.drl.ast.dsl.DeclareDescrBuilder)1 EntryPointDeclarationDescrBuilder (org.drools.drl.ast.dsl.EntryPointDeclarationDescrBuilder)1 EnumDeclarationDescrBuilder (org.drools.drl.ast.dsl.EnumDeclarationDescrBuilder)1 EnumLiteralDescrBuilder (org.drools.drl.ast.dsl.EnumLiteralDescrBuilder)1 FieldDescrBuilder (org.drools.drl.ast.dsl.FieldDescrBuilder)1 ForallDescrBuilder (org.drools.drl.ast.dsl.ForallDescrBuilder)1 FunctionDescrBuilder (org.drools.drl.ast.dsl.FunctionDescrBuilder)1 GlobalDescrBuilder (org.drools.drl.ast.dsl.GlobalDescrBuilder)1 ImportDescrBuilder (org.drools.drl.ast.dsl.ImportDescrBuilder)1 NamedConsequenceDescrBuilder (org.drools.drl.ast.dsl.NamedConsequenceDescrBuilder)1 PackageDescrBuilder (org.drools.drl.ast.dsl.PackageDescrBuilder)1