123456789101112131415161718192021222324252627 |
- namespace Jint.Runtime
- {
- /// <summary>
- /// http://www.ecma-international.org/ecma-262/5.1/#sec-8.9
- /// </summary>
- public class Completion
- {
- public static string Normal = "normal";
- public static string Break = "break";
- public static string Continue = "continue";
- public static string Return = "return";
- public static string Throw = "throw";
- public Completion(string type, object value, string identifier)
- {
- Type = type;
- Value = value;
- Identifier = identifier;
- }
- public string Type { get; private set; }
- public object Value { get; private set; }
- public string Identifier { get; private set; }
- }
- }
|