Package org.drools.drl.parser.antlr4
Class DescrHelper
java.lang.Object
org.drools.drl.parser.antlr4.DescrHelper
Helper class for Descr manipulation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends BaseDescr>
TpopulateCommonProperties(T descr, List<? extends org.antlr.v4.runtime.ParserRuleContext> ctxList) static <T extends BaseDescr>
TpopulateCommonProperties(T descr, org.antlr.v4.runtime.ParserRuleContext ctx) static PatternDescrPatternDescr requires special handling for properties, because it should be updated with PatternBindContext.
-
Method Details
-
populateCommonProperties
public static <T extends BaseDescr> T populateCommonProperties(T descr, org.antlr.v4.runtime.ParserRuleContext ctx) -
populateCommonProperties
-
refreshPatternDescrProperties
public static PatternDescr refreshPatternDescrProperties(PatternDescr descr, DRL10Parser.LhsPatternBindContext ctx) PatternDescr requires special handling for properties, because it should be updated with PatternBindContext. e.g. label
-