コード例 #1
0
 public override object VisitCompilation_unit([NotNull] CSharpParser.Compilation_unitContext context)
 {
     HasServiceClass          = false;
     Results.ServiceNamespace = _serviceNamespace;
     foreach (var usingDirective in context.using_directive())
     {
         Results.UsingDirectives.Add(
             _cSharpParserService.GetTextWithWhitespaceMinifiedLite(
                 Tokens, usingDirective.using_directive_inner()));
     }
     VisitChildren(context);
     return(null);
 }