Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
angelolloqui committed May 3, 2019
1 parent 9590be3 commit 00c1e82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private extension KotlinTokenizer {


// these two methods below allow getting simple, non type enums and single-type enums and outputing their values.
func getAssignments(rawCases:[AST.EnumDeclaration.RawValueStyleEnumCase], declaration:EnumDeclaration, typeToken:Token) -> [Token] {
func getAssignments(rawCases: [AST.EnumDeclaration.RawValueStyleEnumCase], declaration: EnumDeclaration, typeToken: Token) -> [Token] {
let space = declaration.newToken(.space, " ")
var acomps = [[Token]]()
var intStart = 0
Expand Down Expand Up @@ -247,7 +247,7 @@ private extension KotlinTokenizer {
return acomps.joined(tokens: [ declaration.newToken(.delimiter, ","), space ])
}

func getSimpleAssignments(simpleCases:[AST.EnumDeclaration.UnionStyleEnumCase.Case], declaration:EnumDeclaration, typeToken:Token) -> [Token] {
func getSimpleAssignments(simpleCases: [AST.EnumDeclaration.UnionStyleEnumCase.Case], declaration: EnumDeclaration, typeToken: Token) -> [Token] {
let space = declaration.newToken(.space, " ")
var acomps = [[Token]]()
var intStart = 0
Expand Down

0 comments on commit 00c1e82

Please sign in to comment.