place token factory inside of lexer to gain access to line number