Skip to content

Instantly share code, notes, and snippets.

@oisdk
Created June 19, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oisdk/782b64ce89b50ce180c3 to your computer and use it in GitHub Desktop.
Save oisdk/782b64ce89b50ce180c3 to your computer and use it in GitHub Desktop.
public struct Token {
public let token, content: String
public let column, line : Int
public init(token: String, content: String, column: Int, line: Int) {
(self.token, self.content, self.column, self.line) = (token, content, column, line)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment