public IEnumerable <Error> Populate(RootNode node, List <Error> errors)
        {
            var visitor = new PageInfoVisitor(this, errors);

            node.AcceptVisit(visitor);
            return(visitor.Errors);
        }
		AspNetCompilationUnit BuildCU (Document doc)
		{
			AspNetCompilationUnit cu = new AspNetCompilationUnit ();
			cu.Document = doc;
			cu.PageInfo = new PageInfo ();
			
			CompilationUnitVisitor cuVisitor = new CompilationUnitVisitor (cu);
			doc.RootNode.AcceptVisit (cuVisitor);
			
			PageInfoVisitor piVisitor = new PageInfoVisitor (cu.PageInfo);
			doc.RootNode.AcceptVisit (piVisitor);
			
			foreach (ParserException pe in doc.ParseErrors)
				cu.AddError (new ErrorInfo (pe.Line, pe.Column, pe.Message));
			cu.CompileErrors ();
			return cu;
		}
		public IEnumerable<Error> Populate (RootNode node, List<Error> errors)
		{
			var visitor = new PageInfoVisitor (this, errors);
			node.AcceptVisit (visitor);
			return visitor.Errors;
		}