Permalink
Browse files

Merge branch 'token' of https://github.com/ChrisMissal/parsley

  • Loading branch information...
plioi committed Jun 18, 2012
2 parents afb9cdc + 9f123b6 commit 8168ee8385b6a8c2632f49eabc2de50adbb1e3b6
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/Parsley/Token.cs
View
@@ -12,5 +12,10 @@ public Token(TokenKind kind, Position position, string value)
Position = position;
Literal = value;
}
+
+ public override string ToString()
+ {
+ return string.Format("Kind: {0}, Position: {1}, Literal: {2}", Kind, Position, Literal);
+ }
}
}

0 comments on commit 8168ee8

Please sign in to comment.