From c444fb959d572e335b335fc5ada59c5c2492b8e8 Mon Sep 17 00:00:00 2001 From: Stefano Mondino Date: Sun, 2 Feb 2020 11:23:53 +0100 Subject: [PATCH] Make tokens public --- Sources/Template.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/Template.swift b/Sources/Template.swift index 2063e8c..75db2f5 100644 --- a/Sources/Template.swift +++ b/Sources/Template.swift @@ -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?