Skip to content

Commit

Permalink
Refactorings
Browse files Browse the repository at this point in the history
> minor refactorings in token.go
  • Loading branch information
nayas360 committed Dec 9, 2017
1 parent c137c4d commit bef4084
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tokens.go → token.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package goply

// struct having related fields for representing a token
type Token struct {
Type string // The Type of token
Value string // The Value of the token
Length int // The length of the token
StartingPosition int // The starting position of the Token in the source
LineNum int // The line number of the token
Type string // the Type of token
Value string // the Value of the token
Length int // the length of the token
StartingPosition int // the starting position of the Token in the source
LineNum int // the line number of the token
ColNum int // the column number of the token
}

Expand Down

0 comments on commit bef4084

Please sign in to comment.