feat: Added indent filter (#188)

This commit is contained in:
Ilya Puchka
2018-01-28 17:17:23 +01:00
committed by Kyle Fuller
parent 4827fb8e20
commit fa68ba9df8
7 changed files with 94 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ public struct Variable : Equatable, Resolvable {
if let number = Number(variable) {
return number
}
// Boolean literal
if let bool = Bool(variable) {
return bool
}
for bit in lookup() {
current = normalize(current)