From 8a451b0269d2d25229463ee72f946860b3edf87d Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Thu, 12 Feb 2026 22:59:29 +0300 Subject: =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9?= =?UTF-8?q?=20=D1=80=D0=B5=D0=BB=D0=B8=D0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- token.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 token.go (limited to 'token.go') diff --git a/token.go b/token.go new file mode 100644 index 0000000..ef3c92b --- /dev/null +++ b/token.go @@ -0,0 +1,10 @@ +package lex + +type Token struct { + Typ Typ + Pos int + Value string + Error error +} + +type Typ int -- cgit v1.2.3