Example #1
0
 def p_IntersectionExpr1(self, t):
     'IntersectionExpr : IntersectionExpr INTERSECTION Collection'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])
Example #2
0
 def p_UnionExpr1(self, t):
     'UnionExpr : UnionExpr UNION IntersectionExpr'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])
Example #3
0
 def p_Set1(self, t):
     'Set : Set DASH UnionExpr'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])
Example #4
0
 def p_IntersectionExpr1(self, t):
     'IntersectionExpr : IntersectionExpr INTERSECTION Collection'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])
Example #5
0
 def p_UnionExpr1(self, t):
     'UnionExpr : UnionExpr UNION IntersectionExpr'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])
Example #6
0
 def p_Set1(self, t):
     'Set : Set DASH UnionExpr'
     t[0] = symbols.setValue(t[1], symbols.setoperator(t[2]), t[3])