Example #1
0
 internal BoolOp(AndExpression and)
     : this() {
     _values = PythonOps.MakeListNoCopy(Convert(and.Left), Convert(and.Right));
     _op = And.Instance;
 }
Example #2
0
 internal BoolOp(OrExpression or)
     : this() {
     _values = PythonOps.MakeListNoCopy(Convert(or.Left), Convert(or.Right));
     _op = Or.Instance;
 }
Example #3
0
 public BoolOp(boolop op, PythonList values, [Optional]int? lineno, [Optional]int? col_offset)
     : this()
 {
     _op = op;
     _values = values;
     _lineno = lineno;
     _col_offset = col_offset;
 }