David Jennes
f32c772b99
Warnings--
2022-07-28 03:13:01 +02:00
Ilya Puchka
701221c0fb
always evaluate block.super even if it is not used
2022-07-27 18:51:52 +02:00
David Jennes
0bbb8005bb
Fix bunch of warnings
2022-07-27 02:56:21 +02:00
David Jennes
19646bcddf
Update SwiftLint to 0.39.2 ( #295 )
...
* Update SwiftLint to 0.39.2
* Enable a bunch of extra rules
* Fix all warnings
* Ignore this Xcode generated folder
Co-authored-by: Olivier Halligon <olivier@halligon.net >
2020-08-12 22:52:00 +02:00
David Jennes
3f4622f54f
Fix issues in Sources
...
Sources
sources
2018-11-11 17:34:47 +01:00
Ilya Puchka
d9f6a82f97
Convert Token from enum to struct ( #256 )
...
* convert Token from enum to struct
* private setter for components
* updated CHANGELOG
2018-09-30 21:48:44 +01:00
Yonas Kolb
420c0eacd7
update code to Swift 4.1
2018-09-10 20:59:02 +10:00
Ilya Puchka
d6766b43da
minor code refactoring
2018-01-01 16:22:06 +01:00
Ilya Puchka
662849e968
removed trailing witespaces
2018-01-01 16:22:06 +01:00
Ilya Puchka
ac2fd56e8e
storing full sourcemap in token, refactored error reporting
2018-01-01 16:22:06 +01:00
Ilya Puchka
7756522317
fixed error on swift 3.1
2018-01-01 16:22:05 +01:00
Ilya Puchka
8d68edd725
replaced Lexeme protocol with Token
2018-01-01 16:22:05 +01:00
Ilya Puchka
ea7e1efac7
fixed highlighting of errors happening in {{ block.super }}
2018-01-01 16:21:51 +01:00
Ilya Puchka
c486617854
fixed reporting errors in child templates
2018-01-01 16:21:51 +01:00
Ilya Puchka
9a28142fa6
reporting error with its parent context
2018-01-01 16:21:51 +01:00
Ilya Puchka
53c1550c5b
reporting node rendering errors using reference to node’s token
2018-01-01 16:21:50 +01:00
Ilya Puchka
079fdf39b8
added parent context to ErrorReporterContext and handling errors in include and extend nodes
2018-01-01 16:21:50 +01:00
Ilya Puchka
1e6846867e
fixed compiling in swift 3
2017-11-29 23:18:48 +01:00
Ilya Puchka
93c07e22b1
fixed block inheritance with several levels
2017-11-29 23:04:33 +01:00
Kyle Fuller
d75db241ac
feat(block): Support rendering parent block
2016-12-02 00:59:01 +00:00
Kyle Fuller
9e2a061795
refactor: Introducing Environments
2016-12-01 01:29:48 +00:00
Kyle Fuller
2ebb79df8b
refactor(loader): Throw when template not found
2016-11-30 17:22:29 +00:00
Kyle Fuller
c99a40c5d9
refactor(loader): Rename TemplateLoader to Loader
2016-11-28 19:24:27 +00:00
Kyle Fuller
429290e0b7
refactor: TemplateLoader to protocol, follow Swift API guidelines
2016-11-28 19:24:17 +00:00
Kyle Fuller
393dc88a10
fix(extends): Support multiple extends
...
Fixes #60
2016-11-27 04:22:37 +00:00
Kyle Fuller
feff3b18b1
Add support for Swift 3.0
2016-09-13 19:12:47 +01:00
Kyle Fuller
67d4c52535
[Context] Ensure pop happens when an error is thrown
2016-03-05 00:37:12 +00:00
Boris Bügling
372b2e7576
Add Package.swift and move files around
2015-12-08 11:45:03 +01:00