Implement Recursive Transforms (#37)
* Implement Recursive Transforms * Correct test names * apply suggestions * format * add comments * move the parse function * refine `parseTransforms()` function * refinements * format * Swift Format again --------- Co-authored-by: Adam Fowler <adamfowler71@gmail.com>
This commit is contained in:
@@ -223,7 +223,7 @@ extension Parser {
|
||||
|
||||
/// Read while character at current position is the one supplied
|
||||
/// - Parameter while: Character to check against
|
||||
/// - Returns: String read from buffer
|
||||
/// - Returns: The count of string read from buffer
|
||||
@discardableResult mutating func read(while: Character) -> Int {
|
||||
var count = 0
|
||||
while !self.reachedEnd(),
|
||||
|
||||
Reference in New Issue
Block a user