public SyntacticalAnalizer(LexicalAnalyzer lexicalAnalizer) { InvestigatedSequence = lexicalAnalizer.Result; IndexCurrentLexeme = IndexWithOutError = 0; Tables = lexicalAnalizer.Tables; _currentLexeme = CurrentLexemeToString(); }
public TranslatorToPolishNotation(LexicalAnalyzer lexicalAnalizer) { InvestigatedSequence = lexicalAnalizer.Result; Tables = lexicalAnalizer.Tables; _currentLexeme = CurrentLexemeToString(); _resultSequence = new List<KeyValuePair<int, int>>(); _tablePriority = new PriorityTable(Tables);//зачем }