Allow using collection accessors on strings (#245)

* allow using collection accessors on strings

* refactored resolving collection accessors

* refactored to fileprivate function

* Update Variable.swift

* Update templates.rst
This commit is contained in:
Ilya Puchka
2018-09-22 16:41:45 +03:00
committed by GitHub
parent df2e193891
commit d238c25eef
4 changed files with 109 additions and 47 deletions

View File

@@ -20,9 +20,9 @@ following lookup:
- Context lookup
- Dictionary lookup
- Array lookup (first, last, count, index)
- Array and string lookup (first, last, count, by index)
- Key value coding lookup
- Type introspection
- Type introspection (via ``Mirror``)
For example, if `people` was an array: