示例#1
0
        internal void Analyze(Analyzer analyzer)
        {
            ExInfoFromParent sinfo = new ExInfoFromParent(this);

            sinfo.Access = AccessType.WriteRef;

            variable.Analyze(analyzer, sinfo);

            if (initializer != null)
            {
                initializer = initializer.Analyze(analyzer, ExInfoFromParent.DefaultExInfo).Literalize();
            }
        }
示例#2
0
        internal void Analyze(Analyzer /*!*/ analyzer)
        {
            ExInfoFromParent info = new ExInfoFromParent(this);

            info.Access = AccessType.Write;

            resolvedType = analyzer.ResolveTypeName(className, analyzer.CurrentType, analyzer.CurrentRoutine, position, false);

            variable.Analyze(analyzer, info);

            analyzer.EnterConditionalCode();
            this.Statements.Analyze(analyzer);
            analyzer.LeaveConditionalCode();
        }