LexicalAnalyzer class