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