Lines Matching refs:expression
31 for index, expression in enumerate(expressions):
32 if expression.variant == TestExpression.Variant.SEPARATOR:
57 for expression in checker_word:
59 if expression.variant == TestExpression.Variant.VAR_REF:
60 pattern = re.escape(get_variable(expression.name, variables, pos))
62 pattern = expression.text
78 if expression.variant == TestExpression.Variant.VAR_DEF:
79 variables = set_variable(expression.name, string_word[:match.end()], variables, pos)
120 def get_eval_text(expression, variables, pos): argument
121 if expression.variant == TestExpression.Variant.PLAIN_TEXT:
122 return expression.text
124 assert expression.variant == TestExpression.Variant.VAR_REF
125 return get_variable(expression.name, variables, pos)