AAndExpr
Example:
the contract ensure(true, i == 10, f >= 1.0)
return this condition (true and i == 10 and f >= 1.0)
# Returns the conditions of annotation parameters. If there are several parameters, the result is an `AAndExpr`
# Example:
# the contract `ensure(true, i == 10, f >= 1.0)`
# return this condition `(true and i == 10 and f >= 1.0)`
private fun construct_condition(v : ContractsVisitor): AExpr
do
var n_condition = n_args.first
n_args.remove_at(0)
for n_arg in n_args do n_condition = v.ast_builder.make_and(n_condition, n_arg)
n_condition.location = self.location
return n_condition
end
src/contracts.nit:258,2--269,4