pascalabcnet/Yield/YieldHelpers/YieldConsts.cs

22 lines
636 B
C#
Raw Permalink Normal View History

2016-05-19 02:14:06 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PascalABCCompiler.YieldHelpers
{
public static class YieldConsts
{
public static string Current = "<>2__current";
public static string State = "<>1__state";
public static string LabelStatePrefix = "lbstate#";
2016-05-19 02:14:06 +03:00
public static string Self = "<>4__self";
public static string YieldHelperMethodPrefix = "<yield_helper";
public enum ReservedNum { StateField = 1, CurrentField = 2, MethodFormalParam = 3, MethodSelf = 4, MethodLocalVariable = 5 }
}
}