Make tokens public

This commit is contained in:
Stefano Mondino
2020-02-02 11:23:53 +01:00
committed by David Jennes
parent c7e1c890f8
commit c444fb959d

View File

@@ -9,7 +9,9 @@ let NSFileNoSuchFileError = 4
open class Template: ExpressibleByStringLiteral {
let templateString: String
var environment: Environment
let tokens: [Token]
/// The list of parsed (lexed) tokens
public let tokens: [Token]
/// The name of the loaded Template if the Template was loaded from a Loader
public let name: String?