@@ -99,12 +99,12 @@
|
|||||||
77FAAE5419F91E480029DC5E /* Stencil */ = {
|
77FAAE5419F91E480029DC5E /* Stencil */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
77FAAE5719F91E480029DC5E /* Stencil.h */,
|
||||||
77FAAE6E19F920750029DC5E /* Context.swift */,
|
77FAAE6E19F920750029DC5E /* Context.swift */,
|
||||||
77EB082A19FA8600001870F1 /* Lexer.swift */,
|
77EB082A19FA8600001870F1 /* Lexer.swift */,
|
||||||
7725B3D419F9438F002CF74B /* Node.swift */,
|
7725B3D419F9438F002CF74B /* Node.swift */,
|
||||||
7725B3D619F94A43002CF74B /* Parser.swift */,
|
7725B3D619F94A43002CF74B /* Parser.swift */,
|
||||||
71CE4C0919FD29D000B9E0C5 /* Result.swift */,
|
71CE4C0919FD29D000B9E0C5 /* Result.swift */,
|
||||||
77FAAE5719F91E480029DC5E /* Stencil.h */,
|
|
||||||
77EB082419F96E88001870F1 /* Template.swift */,
|
77EB082419F96E88001870F1 /* Template.swift */,
|
||||||
7725B3CE19F94214002CF74B /* Tokenizer.swift */,
|
7725B3CE19F94214002CF74B /* Tokenizer.swift */,
|
||||||
7725B3CC19F92B61002CF74B /* Variable.swift */,
|
7725B3CC19F92B61002CF74B /* Variable.swift */,
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Context.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
/// A container for template variables.
|
/// A container for template variables.
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Lexer.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 24/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public struct Lexer {
|
public struct Lexer {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Node.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
struct NodeError : Error {
|
struct NodeError : Error {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Parser.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public func until(tags:[String])(parser:TokenParser, token:Token) -> Bool {
|
public func until(tags:[String])(parser:TokenParser, token:Token) -> Bool {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Result.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Marius Rackwitz on 26/10/14.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public protocol Error : Printable {
|
public protocol Error : Printable {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
//
|
//
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
// Created by Kyle Fuller on 23/10/2014.
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
// Copyright (c) 2014 Cocode. All rights reserved.
|
||||||
|
// See LICENSE for more details.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
@@ -15,5 +16,3 @@ FOUNDATION_EXPORT double StencilVersionNumber;
|
|||||||
FOUNDATION_EXPORT const unsigned char StencilVersionString[];
|
FOUNDATION_EXPORT const unsigned char StencilVersionString[];
|
||||||
|
|
||||||
// In this header, you should import all the public headers of your framework using statements like #import <Stencil/PublicHeader.h>
|
// In this header, you should import all the public headers of your framework using statements like #import <Stencil/PublicHeader.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Template.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public class Template {
|
public class Template {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Tokenizer.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public enum Token : Equatable {
|
public enum Token : Equatable {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// Variable.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public struct Variable : Equatable {
|
public struct Variable : Equatable {
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// ContextTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// LexerTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 24/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// NodeTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// ParserTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// StencilTests.swift
|
|
||||||
// StencilTests
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// TemplateTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
//
|
|
||||||
// VariableTests.swift
|
|
||||||
// Stencil
|
|
||||||
//
|
|
||||||
// Created by Kyle Fuller on 23/10/2014.
|
|
||||||
// Copyright (c) 2014 Cocode. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import XCTest
|
import XCTest
|
||||||
import Stencil
|
import Stencil
|
||||||
|
|||||||
Reference in New Issue
Block a user