Esempio n. 1
0
        private protected override void VisitLibraryTypeExpression(BoundLibraryTypeExpression node)
        {
            base.VisitLibraryTypeExpression(node);

            var library = Libraries.Types[node.Name];

            this.UsesTextWindow     |= library.UsesTextWindow;
            this.UsesGraphicsWindow |= library.UsesGraphicsWindow;
        }
 private protected virtual void VisitLibraryTypeExpression(BoundLibraryTypeExpression node)
 {
     this.DefaultVisit(node);
 }
        public BoundLibraryEventExpression(ObjectAccessExpressionSyntax syntax, bool hasValue, bool hasErrors, BoundLibraryTypeExpression library, string name)
            : base(hasValue, hasErrors)
        {
            Debug.Assert(!syntax.IsDefault(), "'syntax' must not be null.");
            Debug.Assert(!library.IsDefault(), "'library' must not be null.");
            Debug.Assert(!name.IsDefault(), "'name' must not be null.");

            this.Syntax  = syntax;
            this.Library = library;
            this.Name    = name;
        }