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
David Jennes
0d4dee29b2
Use multiline strings
...
multi
t
t
2018-09-20 04:17:42 +02:00
David Jennes
1704cd2ddf
Use auto equatable
2018-09-20 02:20:21 +02:00
Yonas Kolb
93ccc56540
update lexer to swift 4
2018-09-10 21:19:25 +10:00
Ilya Puchka
acda1b0caf
process template lines when Lexer is created not when parsing each token. ( #230 )
2018-09-10 11:39:19 +01: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
4bfdb73175
removed unneeded code
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
8d68edd725
replaced Lexeme protocol with Token
2018-01-01 16:22:05 +01:00
Ilya Puchka
bb3f33724b
unified setting higlighting range for errors
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
27135f3ea3
changer Never return type to Error in ErrorReporter
...
this resolves warning related to Never type
2018-01-01 16:21:50 +01:00
Ilya Puchka
97ab3cf31d
xcode backward compatibility fixes
...
- moved back to single line string literal
- fixed calculating string lenght
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
0edb38588d
added ErrorReporter protocol with default implementation
2018-01-01 16:21:50 +01:00
Ilya Puchka
69cd8e4d3b
replaced Token with Lexeme protocol on TemplateSyntaxError
2018-01-01 16:21:50 +01: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