public NamedConsequence build(RuleBuildContext context, BaseDescr descr) {
return build( context, descr, null );
}
public NamedConsequence build(RuleBuildContext context, BaseDescr descr, Pattern prefixPattern) {
NamedConsequenceDescr namedConsequence = (NamedConsequenceDescr) descr;
return new NamedConsequence( namedConsequence.getName(), namedConsequence.isBreaking() );
}