Searched refs:_evaluate (Results 1 – 3 of 3) sorted by relevance
/external/antlr/runtime/Python3/tests/ |
D | t015calc.py | 10 def _evaluate(self, expr, expected, errors=[]): member in t015calc 22 self._evaluate("1 + 2", 3) 26 self._evaluate("1 + 2 * 3", 7) 30 self._evaluate("10 / 2", 5) 34 self._evaluate("6 + 2*(3+1) - 4", 10) 38 self._evaluate("6 - (2*1", 4, ["mismatched token at pos 8"])
|
/external/antlr/runtime/Python/tests/ |
D | t015calc.py | 10 def _evaluate(self, expr, expected, errors=[]): member in t015calc 21 self._evaluate("1 + 2", 3) 25 self._evaluate("1 + 2 * 3", 7) 29 self._evaluate("10 / 2", 5) 33 self._evaluate("6 + 2*(3+1) - 4", 10) 37 self._evaluate("6 - (2*1", 4, ["mismatched token at pos 8"])
|
/external/python/cpython3/Lib/ |
D | typing.py | 260 return t._evaluate(globalns, localns) 455 def _evaluate(self, globalns, localns): member in ForwardRef
|