示例#1
0
        private IExpressionBinding Visit(Declaration module, Declaration parent, VBAExpressionParser.NewExpressionContext expression)
        {
            var typeExpressionBinding = Visit(module, parent, expression.typeExpression());

            if (typeExpressionBinding == null)
            {
                return(null);
            }
            return(new NewTypeBinding(_declarationFinder, module, parent, expression, typeExpressionBinding));
        }