Improve code comments

Batch improvements to code comments. Use separator to make it easier to
visually navigate files.
This commit is contained in:
David Dufresne
2016-09-25 16:55:35 -04:00
parent 267af1f5b9
commit 7385294ee1
35 changed files with 472 additions and 211 deletions

View File

@@ -1,10 +1,10 @@
//==============================================================================
// CharacterTests.swift
// SwiftParsec
//
// CharacterTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-09-17.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-09-17.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// CombinatorTests.swift
// SwiftParsec
//
// CombinatorTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-09-26.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-09-26.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// ErrorMessageTest.swift
// SwiftParsec
//
// ErrorMessageTest.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-10-28.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-10-28.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// ExpressionParserTests.swift
// SwiftParsec
//
// ExpressionTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-10-30.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-10-30.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// GenericParserTests.swift
// SwiftParsecTests
//
// SwiftParsecTests.swift
// SwiftParsecTests
//
// Created by David Dufresne on 2015-09-04.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-09-04.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// BenchmarkTests.swift
// SwiftParsec
//
// BenchmarkTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2016-07-16.
// Copyright © 2016 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2016-07-16.
// Copyright © 2016 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// PermutationTests.swift
// SwiftParsec
//
// PermutationTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-11-05.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-11-05.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec
@@ -362,6 +362,7 @@ class PermutationTests: XCTestCase {
}
//==============================================================================
private func ==(lhs: [String?], rhs: [String?]) -> Bool {
return lhs.count == rhs.count && !zip(lhs, rhs).contains { $0 != $1 }

View File

@@ -1,10 +1,10 @@
//==============================================================================
// PositionTests.swift
// SwiftParsec
//
// PositionTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-11-13.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-11-13.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// StringTests.swift
// SwiftParsec
//
// StringTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2016-05-25.
// Copyright © 2016 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2016-05-25.
// Copyright © 2016 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// TestUtilities.swift
// SwiftParsec
//
// TestUtilities.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-09-21.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-09-21.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,11 +1,10 @@
//==============================================================================
// TokenParserTests.swift
// SwiftParsec
//
// TokenTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2015-10-14.
// Copyright © 2015 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2015-10-14.
// Copyright © 2015 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec

View File

@@ -1,10 +1,10 @@
//==============================================================================
// UnicodeScalarTests.swift
// SwiftParsec
//
// UnicodeScalarTests.swift
// SwiftParsec
//
// Created by David Dufresne on 2016-05-10.
// Copyright © 2016 David Dufresne. All rights reserved.
//
// Created by David Dufresne on 2016-05-10.
// Copyright © 2016 David Dufresne. All rights reserved.
//==============================================================================
import XCTest
@testable import SwiftParsec