Files
jpexs-decompiler/libsrc/ffdec_lib/testexpected/as3_new/tests/TestResolvingBuildIn.as
2026-03-04 20:18:02 +01:00

103 lines
2.5 KiB
ActionScript

package tests
{
public class TestResolvingBuildIn
{
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 TestResolvingBuildIn()
{
method
name "tests:TestResolvingBuildIn/TestResolvingBuildIn"
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() : void
{
trait method QName(PackageNamespace(""),"run")
dispid 0
method
name "tests:TestResolvingBuildIn/run"
returns QName(PackageNamespace(""),"void")
body
maxstack 2
localcount 2
initscopedepth 4
maxscopedepth 5
code
getlocal0
pushscope
debug 1, "i", 0, 13
pushstring "Hello world"
pushstring "world"
callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"indexOf"), 1
convert_i
setlocal1
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("TestResolvingBuildIn",[PackageNamespace("tests")])
getlex QName(PackageNamespace(""),"Object")
pushscope
getlex QName(PackageNamespace(""),"Object")
newclass 0
popscope
initproperty QName(PackageNamespace("tests"),"TestResolvingBuildIn")
returnvoid
end ; code
end ; body
end ; method