@@ -6,7 +6,9 @@ _None_
|
|||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
_None_
|
- Made the `tokens` property on a `Template` public.
|
||||||
|
[Stefanomondino](https://github.com/stefanomondino)
|
||||||
|
[#292](https://github.com/stencilproject/Stencil/pull/292)
|
||||||
|
|
||||||
### Deprecations
|
### Deprecations
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,9 @@ let NSFileNoSuchFileError = 4
|
|||||||
open class Template: ExpressibleByStringLiteral {
|
open class Template: ExpressibleByStringLiteral {
|
||||||
let templateString: String
|
let templateString: String
|
||||||
var environment: Environment
|
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
|
/// The name of the loaded Template if the Template was loaded from a Loader
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|||||||
Reference in New Issue
Block a user