feat(for): Support filters

Closes #70
This commit is contained in:
Kyle Fuller
2016-11-28 19:12:48 +00:00
parent b1da85b140
commit b7e200a8a0
4 changed files with 52 additions and 14 deletions

View File

@@ -84,7 +84,7 @@ public class TokenParser {
throw TemplateSyntaxError("Invalid filter '\(name)'")
}
func compileFilter(_ token: String) throws -> Resolvable {
public func compileFilter(_ token: String) throws -> Resolvable {
return try FilterExpression(token: token, parser: self)
}
}