| souffle
    2.0.2-371-g6315b36
    | 
 
 
 
Go to the documentation of this file.
   45 class Break : 
public AbstractConditional {
 
   47     Break(Own<Condition> cond, Own<Operation> nested, std::string 
profileText = 
"")
 
   55     void print(std::ostream& os, 
int tabpos)
 const override {
 
   56         os << 
times(
" ", tabpos);
 
  
Breaks out of the loop if a condition holds.
const std::string profileText
Text used by the profiler.
AbstractConditional(Own< Condition > cond, Own< Operation > nested, std::string profileText="")
Operation & getOperation() const
Get nested operation.
void print(std::ostream &os, int tabpos) const override
Pretty print with indentation.
auto clone(const std::vector< A * > &xs)
Break * clone() const override
Create a clone (i.e.
detail::multiplying_printer< T > times(const T &value, unsigned num)
A utility printing a given value multiple times.
const std::string & getProfileText() const
Get profile text.
const Condition & getCondition() const
Get condition that must be satisfied.
Break(Own< Condition > cond, Own< Operation > nested, std::string profileText="")
Own< Condition > condition
Condition.
void print(std::ostream &os, int tabpos) const override
Pretty print with indentation.