lexer: typed slots.

db4
John Benediktsson 2012-07-27 16:05:28 -07:00
parent 832e3bc53e
commit 8c69ea5562
1 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,13 @@ io vectors arrays math.parser combinators continuations
source-files.errors ;
IN: lexer
TUPLE: lexer text line line-text line-length column parsing-words ;
TUPLE: lexer
{ text array }
{ line fixnum }
{ line-text maybe{ string } }
{ line-length fixnum }
{ column fixnum }
{ parsing-words vector } ;
TUPLE: lexer-parsing-word word line line-text column ;