(expr: PythonExpression)
| 21 | } from '@splootcode/language-python' |
| 22 | |
| 23 | function getArg(expr: PythonExpression): PythonArgument { |
| 24 | const arg = new PythonArgument(null) |
| 25 | arg.getArgument().addChild(expr) |
| 26 | return arg |
| 27 | } |
| 28 | function getExpressionFromString(s: string): PythonExpression { |
| 29 | const expr = new PythonExpression(null) |
| 30 | expr.getTokenSet().addChild(new PythonStringLiteral(null, s)) |
no test coverage detected