3 public class OpCode extends enum {
4 public static const __isenum : Boolean = true;
5 public function OpCode( t : String, index : int, p : Array = null ) : void { this.tag = t; this.index = index; this.params = p; }
6 public static function OArray(nvalues : int) : OpCode { return new OpCode("OArray",45,[nvalues]); }
7 public static var OAsAny : OpCode = new OpCode("OAsAny",73);
8 public static var OAsObject : OpCode = new OpCode("OAsObject",76);
9 public static var OAsString : OpCode = new OpCode("OAsString",74);
10 public static function OAsType(t : Index) : OpCode { return new OpCode("OAsType",75,[t]); }
11 public static var OBreakPoint : OpCode = new OpCode("OBreakPoint",0);
12 public static function OBreakPointLine(n : int) : OpCode { return new OpCode("OBreakPointLine",89,[n]); }
13 public static function OByte(byte : int) : OpCode { return new OpCode("OByte",92,[byte]); }
14 public static function OCallMethod(slot : int, nargs : int) : OpCode { return new OpCode("OCallMethod",33,[slot,nargs]); }
15 public static function OCallPropLex(name : Index, nargs : int) : OpCode { return new OpCode("OCallPropLex",41,[name,nargs]); }
16 public static function OCallPropVoid(name : Index, nargs : int) : OpCode { return new OpCode("OCallPropVoid",43,[name,nargs]); }
17 public static function OCallProperty(name : Index, nargs : int) : OpCode { return new OpCode("OCallProperty",36,[name,nargs]); }
18 public static function OCallStack(nargs : int) : OpCode { return new OpCode("OCallStack",31,[nargs]); }
19 public static function OCallStatic(meth : Index, nargs : int) : OpCode { return new OpCode("OCallStatic",34,[meth,nargs]); }
20 public static function OCallSuper(name : Index, nargs : int) : OpCode { return new OpCode("OCallSuper",35,[name,nargs]); }
21 public static function OCallSuperVoid(name : Index, nargs : int) : OpCode { return new OpCode("OCallSuperVoid",42,[name,nargs]); }
22 public static function OCast(t : Index) : OpCode { return new OpCode("OCast",72,[t]); }
23 public static function OCatch(c : int) : OpCode { return new OpCode("OCatch",48,[c]); }
24 public static var OCheckIsXml : OpCode = new OpCode("OCheckIsXml",71);
25 public static function OClassDef(c : Index) : OpCode { return new OpCode("OClassDef",47,[c]); }
26 public static function OConstruct(nargs : int) : OpCode { return new OpCode("OConstruct",32,[nargs]); }
27 public static function OConstructProperty(name : Index, nargs : int) : OpCode { return new OpCode("OConstructProperty",40,[name,nargs]); }
28 public static function OConstructSuper(nargs : int) : OpCode { return new OpCode("OConstructSuper",39,[nargs]); }
29 public static function ODebugFile(file : Index) : OpCode { return new OpCode("ODebugFile",88,[file]); }
30 public static function ODebugLine(line : int) : OpCode { return new OpCode("ODebugLine",87,[line]); }
31 public static function ODebugReg(name : Index, r : int, line : int) : OpCode { return new OpCode("ODebugReg",86,[name,r,line]); }
32 public static function ODecrIReg(r : int) : OpCode { return new OpCode("ODecrIReg",83,[r]); }
33 public static function ODecrReg(r : int) : OpCode { return new OpCode("ODecrReg",78,[r]); }
34 public static function ODeleteProp(p : Index) : OpCode { return new OpCode("ODeleteProp",60,[p]); }
35 public static var ODup : OpCode = new OpCode("ODup",22);
36 public static var OFalse : OpCode = new OpCode("OFalse",19);
37 public static function OFindDefinition(d : Index) : OpCode { return new OpCode("OFindDefinition",51,[d]); }
38 public static function OFindProp(p : Index) : OpCode { return new OpCode("OFindProp",50,[p]); }
39 public static function OFindPropStrict(p : Index) : OpCode { return new OpCode("OFindPropStrict",49,[p]); }
40 public static function OFloat(v : Index) : OpCode { return new OpCode("OFloat",26,[v]); }
41 public static var OForEach : OpCode = new OpCode("OForEach",15);
42 public static var OForIn : OpCode = new OpCode("OForIn",11);
43 public static function OFunction(f : Index) : OpCode { return new OpCode("OFunction",30,[f]); }
44 public static var OGetGlobalScope : OpCode = new OpCode("OGetGlobalScope",56);
45 public static function OGetLex(p : Index) : OpCode { return new OpCode("OGetLex",52,[p]); }
46 public static function OGetProp(p : Index) : OpCode { return new OpCode("OGetProp",58,[p]); }
47 public static function OGetScope(n : int) : OpCode { return new OpCode("OGetScope",57,[n]); }
48 public static function OGetSlot(s : int) : OpCode { return new OpCode("OGetSlot",61,[s]); }
49 public static function OGetSuper(v : Index) : OpCode { return new OpCode("OGetSuper",3,[v]); }
50 public static var OHasNext : OpCode = new OpCode("OHasNext",12);
51 public static function OIncrIReg(r : int) : OpCode { return new OpCode("OIncrIReg",82,[r]); }
52 public static function OIncrReg(r : int) : OpCode { return new OpCode("OIncrReg",77,[r]); }
53 public static function OInitProp(p : Index) : OpCode { return new OpCode("OInitProp",59,[p]); }
54 public static var OInstanceOf : OpCode = new OpCode("OInstanceOf",80);
55 public static function OInt(v : int) : OpCode { return new OpCode("OInt",17,[v]); }
56 public static function OIntRef(v : Index) : OpCode { return new OpCode("OIntRef",25,[v]); }
57 public static function OIsType(t : Index) : OpCode { return new OpCode("OIsType",81,[t]); }
58 public static function OJump(j : JumpStyle, delta : int) : OpCode { return new OpCode("OJump",7,[j,delta]); }
59 public static var OLabel : OpCode = new OpCode("OLabel",6);
60 public static var ONaN : OpCode = new OpCode("ONaN",20);
61 public static function ONamespace(v : Index) : OpCode { return new OpCode("ONamespace",28,[v]); }
62 public static var ONewBlock : OpCode = new OpCode("ONewBlock",46);
63 public static function ONext(r1 : int, r2 : int) : OpCode { return new OpCode("ONext",29,[r1,r2]); }
64 public static var ONop : OpCode = new OpCode("ONop",1);
65 public static var ONull : OpCode = new OpCode("ONull",13);
66 public static function OObject(nfields : int) : OpCode { return new OpCode("OObject",44,[nfields]); }
67 public static function OOp(op : Operation) : OpCode { return new OpCode("OOp",91,[op]); }
68 public static var OPop : OpCode = new OpCode("OPop",21);
69 public static var OPopScope : OpCode = new OpCode("OPopScope",10);
70 public static var OPushWith : OpCode = new OpCode("OPushWith",9);
71 public static function OReg(r : int) : OpCode { return new OpCode("OReg",54,[r]); }
72 public static function ORegKill(r : int) : OpCode { return new OpCode("ORegKill",5,[r]); }
73 public static var ORet : OpCode = new OpCode("ORet",38);
74 public static var ORetVoid : OpCode = new OpCode("ORetVoid",37);
75 public static var OScope : OpCode = new OpCode("OScope",27);
76 public static function OSetProp(p : Index) : OpCode { return new OpCode("OSetProp",53,[p]); }
77 public static function OSetReg(r : int) : OpCode { return new OpCode("OSetReg",55,[r]); }
78 public static function OSetSlot(s : int) : OpCode { return new OpCode("OSetSlot",62,[s]); }
79 public static function OSetSuper(v : Index) : OpCode { return new OpCode("OSetSuper",4,[v]); }
80 public static var OSetThis : OpCode = new OpCode("OSetThis",85);
81 public static function OSmallInt(v : int) : OpCode { return new OpCode("OSmallInt",16,[v]); }
82 public static function OString(v : Index) : OpCode { return new OpCode("OString",24,[v]); }
83 public static var OSwap : OpCode = new OpCode("OSwap",23);
84 public static function OSwitch(def : int, deltas : Array) : OpCode { return new OpCode("OSwitch",8,[def,deltas]); }
85 public static var OThis : OpCode = new OpCode("OThis",84);
86 public static var OThrow : OpCode = new OpCode("OThrow",2);
87 public static var OTimestamp : OpCode = new OpCode("OTimestamp",90);
88 public static var OToBool : OpCode = new OpCode("OToBool",69);
89 public static var OToInt : OpCode = new OpCode("OToInt",66);
90 public static var OToNumber : OpCode = new OpCode("OToNumber",68);
91 public static var OToObject : OpCode = new OpCode("OToObject",70);
92 public static var OToString : OpCode = new OpCode("OToString",63);
93 public static var OToUInt : OpCode = new OpCode("OToUInt",67);
94 public static var OToXml : OpCode = new OpCode("OToXml",64);
95 public static var OToXmlAttr : OpCode = new OpCode("OToXmlAttr",65);
96 public static var OTrue : OpCode = new OpCode("OTrue",18);
97 public static var OTypeof : OpCode = new OpCode("OTypeof",79);
98 public static var OUndefined : OpCode = new OpCode("OUndefined",14);