Exemplo n.º 1
0
        public override bool ResolveNames(LexicalScope scope)
        {
            var newScope = getNewScope(scope, null);

            if (ElseStmts == null)
            {
                return(CondExpr.ResolveNames(newScope) & ThenStmts.ResolveNames(newScope));
            }
            else
            {
                return(CondExpr.ResolveNames(newScope) & ThenStmts.ResolveNames(newScope) & ElseStmts.ResolveNames(newScope));
            }
        }