Add methods for Array and Dictionary
This commit is contained in:
@@ -10,10 +10,10 @@ public class HBMustacheTemplate {
|
||||
|
||||
enum Token {
|
||||
case text(String)
|
||||
case variable(String, String? = nil)
|
||||
case unescapedVariable(String)
|
||||
case section(String, HBMustacheTemplate)
|
||||
case invertedSection(String, HBMustacheTemplate)
|
||||
case variable(name: String, method: String? = nil)
|
||||
case unescapedVariable(name: String, method: String? = nil)
|
||||
case section(name: String, method: String? = nil, template: HBMustacheTemplate)
|
||||
case invertedSection(name: String, method: String? = nil, template: HBMustacheTemplate)
|
||||
case partial(String)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user