示例#1
0
文件: parser.py 项目: timtadh/pyflwor
 def p_SetExpr8(self, t):
     'SetExpr : LANGLE Set RANGLE IS NOT LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('is not'), t[7])
示例#2
0
文件: parser.py 项目: timtadh/pyflwor
 def p_SetExpr6(self, t):
     'SetExpr : LANGLE Set RANGLE PROPER SUPERSET LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('proper superset'), t[7])
示例#3
0
文件: parser.py 项目: timtadh/pyflwor
 def p_SetExpr7(self, t):
     'SetExpr : LANGLE Set RANGLE IS LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('is'), t[6])
示例#4
0
文件: parser.py 项目: timtadh/pyflwor
 def p_SetExpr4(self, t):
     'SetExpr : LANGLE Set RANGLE SUPERSET LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('superset'), t[6])
示例#5
0
 def p_SetExpr8(self, t):
     'SetExpr : LANGLE Set RANGLE IS NOT LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('is not'),
                                  t[7])
示例#6
0
 def p_SetExpr7(self, t):
     'SetExpr : LANGLE Set RANGLE IS LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2], symbols.setexprOperator2('is'),
                                  t[6])
示例#7
0
 def p_SetExpr6(self, t):
     'SetExpr : LANGLE Set RANGLE PROPER SUPERSET LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(
         t[2], symbols.setexprOperator2('proper superset'), t[7])
示例#8
0
 def p_SetExpr4(self, t):
     'SetExpr : LANGLE Set RANGLE SUPERSET LANGLE Set RANGLE'
     t[0] = symbols.setexprValue2(t[2],
                                  symbols.setexprOperator2('superset'),
                                  t[6])