Exemple #1
0
        public override void ExitAnnotation([NotNull] VBAParser.AnnotationContext context)
        {
            var newAnnotation = _factory.Create(context, new QualifiedSelection(_qualifiedName, context.GetSelection()));

            _annotations.Add(newAnnotation);
        }
        public override void ExitAnnotation([NotNull] VBAParser.AnnotationContext context)
        {
            var newAnnotation = _factory.Create(context, new QualifiedSelection(_qualifiedName, context.GetSelection()));

            // It might be an annotation we don't support or a typo.
            if (newAnnotation != null)
            {
                _annotations.Add(newAnnotation);
            }
        }