Add attribution to all source code

This commit is contained in:
David Jennes
2022-07-29 02:43:02 +02:00
parent 6481534f6c
commit 71879ecdc9
45 changed files with 272 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
//
// Stencil
// Copyright © 2022 Stencil
// MIT Licence
//
/// Creates a checker that will stop parsing if it encounters a list of tags.
/// Useful for example for scanning until a given "end"-node.
public func until(_ tags: [String]) -> ((TokenParser, Token) -> Bool) {