1 |
|
2 |
|
3 | export const enum MachineOp {
|
4 | PushFrame = 0,
|
5 | PopFrame = 1,
|
6 | InvokeVirtual = 2,
|
7 | InvokeStatic = 3,
|
8 | Jump = 4,
|
9 | Return = 5,
|
10 | ReturnTo = 6,
|
11 | Size = 7,
|
12 | }
|
13 |
|
14 | export const enum Op {
|
15 | Helper = 16,
|
16 | SetNamedVariables = 17,
|
17 | SetBlocks = 18,
|
18 | SetVariable = 19,
|
19 | SetBlock = 20,
|
20 | GetVariable = 21,
|
21 | GetProperty = 22,
|
22 | GetBlock = 23,
|
23 | SpreadBlock = 24,
|
24 | HasBlock = 25,
|
25 | HasBlockParams = 26,
|
26 | Concat = 27,
|
27 | Constant = 28,
|
28 | ConstantReference = 29,
|
29 | Primitive = 30,
|
30 | PrimitiveReference = 31,
|
31 | ReifyU32 = 32,
|
32 | Dup = 33,
|
33 | Pop = 34,
|
34 | Load = 35,
|
35 | Fetch = 36,
|
36 | RootScope = 37,
|
37 | VirtualRootScope = 38,
|
38 | ChildScope = 39,
|
39 | PopScope = 40,
|
40 | Text = 41,
|
41 | Comment = 42,
|
42 | AppendHTML = 43,
|
43 | AppendSafeHTML = 44,
|
44 | AppendDocumentFragment = 45,
|
45 | AppendNode = 46,
|
46 | AppendText = 47,
|
47 | OpenElement = 48,
|
48 | OpenDynamicElement = 49,
|
49 | PushRemoteElement = 50,
|
50 | StaticAttr = 51,
|
51 | DynamicAttr = 52,
|
52 | ComponentAttr = 53,
|
53 | FlushElement = 54,
|
54 | CloseElement = 55,
|
55 | PopRemoteElement = 56,
|
56 | Modifier = 57,
|
57 | BindDynamicScope = 58,
|
58 | PushDynamicScope = 59,
|
59 | PopDynamicScope = 60,
|
60 | CompileBlock = 61,
|
61 | PushBlockScope = 62,
|
62 | PushSymbolTable = 63,
|
63 | InvokeYield = 64,
|
64 | JumpIf = 65,
|
65 | JumpUnless = 66,
|
66 | JumpEq = 67,
|
67 | AssertSame = 68,
|
68 | Enter = 69,
|
69 | Exit = 70,
|
70 | ToBoolean = 71,
|
71 | EnterList = 72,
|
72 | ExitList = 73,
|
73 | Iterate = 74,
|
74 | Main = 75,
|
75 | ContentType = 76,
|
76 | Curry = 77,
|
77 | PushComponentDefinition = 78,
|
78 | PushDynamicComponentInstance = 79,
|
79 | ResolveDynamicComponent = 80,
|
80 | ResolveCurriedComponent = 81,
|
81 | PushArgs = 82,
|
82 | PushEmptyArgs = 83,
|
83 | PopArgs = 84,
|
84 | PrepareArgs = 85,
|
85 | CaptureArgs = 86,
|
86 | CreateComponent = 87,
|
87 | RegisterComponentDestructor = 88,
|
88 | PutComponentOperations = 89,
|
89 | GetComponentSelf = 90,
|
90 | GetComponentTagName = 91,
|
91 | GetComponentLayout = 92,
|
92 | BindEvalScope = 93,
|
93 | SetupForEval = 94,
|
94 | PopulateLayout = 95,
|
95 | InvokeComponentLayout = 96,
|
96 | BeginComponentTransaction = 97,
|
97 | CommitComponentTransaction = 98,
|
98 | DidCreateElement = 99,
|
99 | DidRenderLayout = 100,
|
100 | InvokePartial = 101,
|
101 | ResolveMaybeLocal = 102,
|
102 | Debugger = 103,
|
103 | Size = 104,
|
104 | StaticComponentAttr = 105,
|
105 | DynamicContentType = 106,
|
106 | DynamicHelper = 107,
|
107 | DynamicModifier = 108,
|
108 | IfInline = 109,
|
109 | Not = 110,
|
110 | GetDynamicVar = 111,
|
111 | Log = 112,
|
112 | }
|