Example #1
0
        public Expression Update(LabelTarget labelTarget, Type type)
        {
            if (LabelTarget.Equals(labelTarget) && Type.Equals(type))
            {
                return(this);
            }

            return(AstExpression.Goto(_gotoStatement, this as IScope, Visitor));
        }
        public Expression Update(LabelTarget labelTarget, Type type)
        {
            if (LabelTarget.Equals(labelTarget) && Type.Equals(type))
            {
                return(this);
            }

            return(AstExpression.Label(_labelStatement, ParentScope, Visitor));
        }
        public Expression Update(LabelTarget label, Type type)
        {
            if (LabelTarget.Equals(label) && Type.Equals(type))
            {
                return(this);
            }

            return(AstExpression.Continue(_continueStatement, this as IScope, Visitor));
        }