(compiler, expr, name, obj, indices)
| 635 | |
| 636 | @pattern_macro("get", [FORM, oneplus(FORM)], shadow=True) |
| 637 | def compile_index_expression(compiler, expr, name, obj, indices): |
| 638 | indices, ret, _ = compiler._compile_collect(indices) |
| 639 | ret += compiler.compile(obj) |
| 640 | |
| 641 | for ix in indices: |
| 642 | ret += asty.Subscript( |
| 643 | expr, value=ret.force_expr, slice=ast.Index(value=ix), ctx=ast.Load() |
| 644 | ) |
| 645 | |
| 646 | return ret |
| 647 | |
| 648 | |
| 649 | notsym = lambda *dissallowed: some( |
nothing calls this directly
no test coverage detected