AddConjunction 一组完整的expression, 必须是完整一个描述文档的DNF Bool表达的条件组合*/
(cons ...*Conjunction)
| 56 | |
| 57 | // AddConjunction 一组完整的expression, 必须是完整一个描述文档的DNF Bool表达的条件组合*/ |
| 58 | func (doc *Document) AddConjunction(cons ...*Conjunction) *Document { |
| 59 | for _, conj := range cons { |
| 60 | doc.Cons = append(doc.Cons, conj) |
| 61 | } |
| 62 | return doc |
| 63 | } |
| 64 | |
| 65 | func (doc *Document) AddConjunctions(conj *Conjunction, others ...*Conjunction) *Document { |
| 66 | doc.Cons = append(doc.Cons, conj) |
no outgoing calls