Lines Matching refs:variant
86 variant = statement.variant
87 if variant is TestStatement.Variant.IF:
89 elif variant is TestStatement.Variant.ELIF:
91 elif variant is TestStatement.Variant.ELSE:
94 assert variant is TestStatement.Variant.FI
221 assert statement.variant == TestStatement.Variant.DAG
239 assert statement.variant == TestStatement.Variant.NOT
284 variant = None if statement is None else statement.variant
286 if variant in [TestStatement.Variant.IF,
293 if variant is None:
301 if variant is not TestStatement.Variant.DAG:
304 if variant is None:
306 elif variant is TestStatement.Variant.IN_ORDER:
308 elif variant is TestStatement.Variant.NEXT_LINE:
310 elif variant is TestStatement.Variant.DAG:
312 elif variant is TestStatement.Variant.NOT:
315 assert variant is TestStatement.Variant.EVAL
318 self.last_variant = variant
369 if e.statement.variant == TestStatement.Variant.NOT: