mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 05:04:54 +00:00
176 lines
5.2 KiB
ActionScript
176 lines
5.2 KiB
ActionScript
package tests
|
|
{
|
|
public class TestPrecedence
|
|
{
|
|
|
|
method
|
|
name ""
|
|
returns null
|
|
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 3
|
|
maxscopedepth 4
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
|
|
public function TestPrecedence()
|
|
{
|
|
method
|
|
name "tests:TestPrecedence/TestPrecedence"
|
|
returns null
|
|
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 4
|
|
maxscopedepth 5
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
getlocal0
|
|
constructsuper 0
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
}
|
|
|
|
public function run() : *
|
|
{
|
|
trait method QName(PackageNamespace(""),"run")
|
|
dispid 0
|
|
method
|
|
name "tests:TestPrecedence/run"
|
|
returns null
|
|
|
|
body
|
|
maxstack 3
|
|
localcount 2
|
|
initscopedepth 4
|
|
maxscopedepth 5
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
debug 1, "a", 0, 13
|
|
pushbyte 0
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 6
|
|
add
|
|
pushbyte 7
|
|
multiply
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 2
|
|
pushbyte 3
|
|
add
|
|
multiply
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 6
|
|
pushbyte 7
|
|
multiply
|
|
add
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 2
|
|
multiply
|
|
pushbyte 2
|
|
add
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 25
|
|
pushbyte 3
|
|
modulo
|
|
multiply
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 5
|
|
pushbyte 24
|
|
pushshort 307
|
|
multiply
|
|
modulo
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 1
|
|
pushbyte 2
|
|
pushbyte 3
|
|
divide
|
|
divide
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 1
|
|
pushbyte 2
|
|
pushbyte 3
|
|
multiply
|
|
divide
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 1
|
|
pushbyte 2
|
|
multiply
|
|
pushbyte 3
|
|
multiply
|
|
coerce_a
|
|
setlocal1
|
|
pushbyte 1
|
|
pushbyte 2
|
|
multiply
|
|
pushbyte 3
|
|
divide
|
|
coerce_a
|
|
setlocal1
|
|
findpropstrict Multiname("trace",[PackageNamespace(""),Namespace("http://adobe.com/AS3/2006/builtin"),PackageNamespace("tests"),PackageInternalNs("tests"),PrivateNamespace("tests:TestPrecedence"),ProtectedNamespace("tests:TestPrecedence"),StaticProtectedNs("tests:TestPrecedence"),PrivateNamespace("TestPrecedence.as$0")])
|
|
pushstring "a="
|
|
getlocal1
|
|
add
|
|
callpropvoid Multiname("trace",[PackageNamespace(""),Namespace("http://adobe.com/AS3/2006/builtin"),PackageNamespace("tests"),PackageInternalNs("tests"),PrivateNamespace("tests:TestPrecedence"),ProtectedNamespace("tests:TestPrecedence"),StaticProtectedNs("tests:TestPrecedence"),PrivateNamespace("TestPrecedence.as$0")]), 1
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
}
|
|
}
|
|
}
|
|
|
|
method
|
|
name ""
|
|
returns null
|
|
|
|
body
|
|
maxstack 2
|
|
localcount 1
|
|
initscopedepth 1
|
|
maxscopedepth 3
|
|
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
findpropstrict Multiname("TestPrecedence",[PackageNamespace("tests")])
|
|
getlex QName(PackageNamespace(""),"Object")
|
|
pushscope
|
|
getlex QName(PackageNamespace(""),"Object")
|
|
newclass 0
|
|
popscope
|
|
initproperty QName(PackageNamespace("tests"),"TestPrecedence")
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
|