view trunk/src/Token.d @ 0:8ba2570de175

Initial import.
author aziz
date Mon, 28 May 2007 19:03:02 +0000
parents
children 4bbce78bfb1e
line wrap: on
line source

/++
  Author: Aziz Köksal
  License: GPL2
+/
module Token;

struct Position
{
  size_t loc;
  size_t col;
}

struct Token
{
  enum Type
  {

  }

  Type type;
  Position pos;

  union
  {
    char[] str;
    float f;
    double d;
  }
}