コード例 #1
0
  @Override
  protected void visitOrDescr(OrDescr descr) throws UnknownDescriptionException {
    PatternOperatorDescr operatorDescr = new PatternOperatorDescr(pattern, OperatorDescrType.OR);
    operatorDescr.setOrderNumber(orderNumber.next());

    data.add(operatorDescr);

    solvers.startOperator(OperatorDescrType.OR);
    visit(descr.getDescrs());
    solvers.endOperator();
  }
コード例 #2
0
  @Override
  protected void visitAndDescr(AndDescr descr) throws UnknownDescriptionException {
    PatternOperatorDescr operatorDescr = new PatternOperatorDescr(pattern, OperatorDescrType.AND);
    operatorDescr.setOrderNumber(orderNumber.next());
    operatorDescr.setParentPath(getParent().getPath());
    operatorDescr.setParentType(getParent().getVerifierComponentType());

    data.add(operatorDescr);

    solvers.startOperator(OperatorDescrType.AND);
    visit(descr.getDescrs());
    solvers.endOperator();
  }