private void ClearTables() { OutputTokens.Clear(); OutputIdentifiers.Clear(); OutputConstants.Clear(); OutputErrors.Clear(); }
private void ExecuteRun(object obj) { ClearTables(); var output = lexer.Run(ProgramText); OutputTokens = OutputTokens.CopyFrom(output.outputTokens); OutputIdentifiers = OutputIdentifiers.CopyFrom(output.outputIdentifiers); OutputConstants = OutputConstants.CopyFrom(output.outoutConstans); OutputErrors = OutputErrors.CopyFrom(output.errors, parser.Process(output.outputTokens)); OutputText = parser.Rezult; }