public Lexer(ParseTrace parseTrace, string fileName) { this.parseTrace = parseTrace; this.fileName = fileName; text = File.ReadAllText(fileName); errorStrings = new Set<string>[text.Length + 1]; for (int n = 0; n < errorStrings.Length; n++) errorStrings[n] = new Set<string>(); Restart(); }
public Lexer(ParseTrace parseTrace, string fileName) { this.parseTrace = parseTrace; this.fileName = fileName; text = File.ReadAllText(fileName); errorStrings = new Set <string> [text.Length + 1]; for (int n = 0; n < errorStrings.Length; n++) { errorStrings[n] = new Set <string>(); } Restart(); }