Exemplo n.º 1
0
		public void CreateParseInformation()
		{
			ParserService.RegisterAvailableParsers(new ParserDescriptor(typeof(TParser), "VBNet", new string[] { ".vb" }));
			var parser = new VBNetBinding.TParser();
			parser.LexerTags = new string[0];
			var cu = parser.Parse(pc, this.FileName, this.Document);
			ParserService.RegisterParseInformation(this.FileName, cu);
			pc.UpdateCompilationUnit(null, cu, this.FileName);
		}
Exemplo n.º 2
0
        public void CreateParseInformation()
        {
            ParserService.RegisterAvailableParsers(new ParserDescriptor(typeof(TParser), "VBNet", new string[] { ".vb" }));
            var parser = new VBNetBinding.TParser();

            parser.LexerTags = new string[0];
            var cu = parser.Parse(pc, this.FileName, this.Document);

            ParserService.RegisterParseInformation(this.FileName, cu);
            pc.UpdateCompilationUnit(null, cu, this.FileName);
        }