| 2568 | } |
| 2569 | #endif |
| 2570 | IntPropLevel |
| 2571 | FlatZincSpace::ann2ipl(AST::Node* ann) { |
| 2572 | if (ann) { |
| 2573 | if (ann->hasAtom("val") || ann->hasAtom("value_propagation")) |
| 2574 | return IPL_VAL; |
| 2575 | if (ann->hasAtom("domain") || ann->hasAtom("domain_propagation")) |
| 2576 | return IPL_DOM; |
| 2577 | if (ann->hasAtom("bounds") || |
| 2578 | ann->hasAtom("bounds_propagation") || |
| 2579 | ann->hasAtom("boundsR") || |
| 2580 | ann->hasAtom("boundsD") || |
| 2581 | ann->hasAtom("boundsZ")) |
| 2582 | return IPL_BND; |
| 2583 | } |
| 2584 | return IPL_DEF; |
| 2585 | } |
| 2586 | |
| 2587 | DFA |
| 2588 | FlatZincSpace::getSharedDFA(DFA& a) { |
no test coverage detected