// // Parse some code and add the data obtained to a Project. // private void AugmentProject(Project project, string filecontents) { project.RegisterSourceFile(FileFullPath, this); var lexer = new LexSession(this, filecontents); var parser = new ParseSession(lexer); parser.AugmentProject(project); }