Exemplo 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;
        }
Exemplo n.º 2
0
 private protected virtual void VisitLibraryTypeExpression(BoundLibraryTypeExpression node)
 {
     this.DefaultVisit(node);
 }
Exemplo n.º 3
0
        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;
        }