예제 #1
0
        public static void Reset(bool full_flag)
        {
            CSharpParser.yacc_verbose_flag = 0;
            Location.Reset();

            if (!full_flag)
            {
                return;
            }

            RootContext.Reset(full_flag);
            TypeManager.Reset();
            ReferenceContainer.Reset();
            PointerContainer.Reset();
            Parameter.Reset();

            Unary.Reset();
            UnaryMutator.Reset();
            Binary.Reset();
            ConstantFold.Reset();
            CastFromDecimal.Reset();
            StringConcat.Reset();

            NamespaceEntry.Reset();
            Attribute.Reset();
            AnonymousTypeClass.Reset();
            AnonymousMethodBody.Reset();
            AnonymousMethodStorey.Reset();
            SymbolWriter.Reset();
            Switch.Reset();
            Linq.QueryBlock.TransparentParameter.Reset();
            Convert.Reset();
            TypeInfo.Reset();
        }
예제 #2
0
 public void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     foreach (Argument a in args)
     {
         a.Expr.MutateHoistedGenericType(storey);
     }
 }
예제 #3
0
파일: nullable.cs 프로젝트: mdae/MonoRT
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     type                   = storey.MutateType(type);
     info.Constructor       = storey.MutateConstructor(info.Constructor);
     info.HasValue          = storey.MutateGenericMethod(info.HasValue);
     info.GetValueOrDefault = storey.MutateGenericMethod(info.GetValueOrDefault);
     info.Value             = storey.MutateGenericMethod(info.Value);
 }
예제 #4
0
        public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
        {
            if (delegate_instance_expression != null)
            {
                delegate_instance_expression.MutateHoistedGenericType(storey);
            }

            delegate_method    = storey.MutateGenericMethod(delegate_method);
            constructor_method = storey.MutateConstructor(constructor_method);
        }
예제 #5
0
        public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
        {
            method = storey.MutateGenericMethod(method);
            type   = storey.MutateType(type);

            if (Arguments != null)
            {
                Arguments.MutateHoistedGenericType(storey);
            }

            InstanceExpr.MutateHoistedGenericType(storey);
        }
예제 #6
0
파일: driver.cs 프로젝트: rblenis/cudafy
        public static void Reset(bool full_flag)
        {
            CSharpParser.yacc_verbose_flag = 0;
            Location.Reset();

            if (!full_flag)
            {
                return;
            }

            AnonymousTypeClass.Reset();
            AnonymousMethodBody.Reset();
            AnonymousMethodStorey.Reset();
            SymbolWriter.Reset();
            Switch.Reset();
            Linq.QueryBlock.TransparentParameter.Reset();
            TypeInfo.Reset();
        }
예제 #7
0
파일: literal.cs 프로젝트: mdae/MonoRT
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     type = storey.MutateType(type);
 }
예제 #8
0
파일: linq.cs 프로젝트: mdae/MonoRT
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     // Nothing to mutate
 }
예제 #9
0
 public override void AddStoreyReference(AnonymousMethodStorey storey)
 {
     // do nothing
 }
예제 #10
0
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     expr.MutateHoistedGenericType(storey);
 }
예제 #11
0
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     throw new NotSupportedException();
 }
예제 #12
0
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     original_block.MutateHoistedGenericType(storey);
     iterator.MutateHoistedGenericType(storey);
 }
예제 #13
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			type = storey.MutateType (type);
			info.Constructor = storey.MutateConstructor (info.Constructor);
			info.HasValue = storey.MutateGenericMethod (info.HasValue);
			info.GetValueOrDefault = storey.MutateGenericMethod (info.GetValueOrDefault);
			info.Value = storey.MutateGenericMethod (info.Value);
		}
예제 #14
0
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			left.MutateHoistedGenericType (storey);
			right.MutateHoistedGenericType (storey);
			type = storey.MutateType (type);
		}
예제 #15
0
파일: linq.cs 프로젝트: lewurm/benchmarker
		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			// Nothing to mutate
		}
예제 #16
0
 public override void MutateHoistedGenericType(AnonymousMethodStorey storey)
 {
     source.MutateHoistedGenericType(storey);
     target.MutateHoistedGenericType(storey);
     type = storey.MutateType(type);
 }