ragome-bytecode-js-compiler.0.96-beta3.source-code.xmlvm2js.xsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-bytecode-js-compiler Show documentation
Show all versions of dragome-bytecode-js-compiler Show documentation
Dragome SDK module: bytecode to javascript compiler
qx.Class.define(" ", {
extend: ,
construct: function() {},
implement: [
],
statics:
{
$$$
:
"
"
,
,
/* start of */
/* end of */
,
$main___java_lang_String_ARRAYTYPE: function(args) {
.launchActivity(null, null);
},
launchActivity: function(stageAssistant, sceneAssistant) {
android_internal_MojoProxy.theStageAssistant = stageAssistant;
android_internal_MojoProxy.theSceneAssistant = sceneAssistant;
new
();
.initClass();
android_app_Activity.theActivityClassName = "
";
var app = new
();
app.$$init_();
app.$onContentChanged();
app.$onCreate___android_os_Bundle([]);
}
}, //statics
members:
{
$$$
:
"
"
,
,
/* start of */
/* end of */
} //members
}); //qx.Class.define
duplicateMethod: 0
{}
{
return
NativeInterface
.
(
this
,
,
__arg
);
}
{
var __locals = new Array(
);
var __stack = new Array(
);
var __sp = 0;
var __op1;
var __op2;
var __next_label = -1;
while (1) {
switch (__next_label) {
case -1:
default:
alert("XMLVM internal error: reached default of switch");
}
}
}
case
:
__stack[__sp++] = new java_lang_null();
throw __stack[--__sp];
__stack[__sp++] =
;
__value = __stack[--__sp];
___result = Math.floor(__value);
__stack[__sp++] = ___result;
__value = __stack[--__sp];
___result = __value & 0xff;
___result = (___result > 127) ? ___result | 0xffffff00 : ___result;
__stack[__sp++] = ___result;
__value = __stack[--__sp];
___result = __value & 0xff;
__stack[__sp++] = ___result;
/* try {*/
/*} catch (
__ex) {
__sp = 0;
__stack[__sp++] = __ex;
goto __label
;
}*/
__op1 = __stack[__sp - 1];
__stack[__sp++] = __op1;
__op1 = __stack[--__sp];
__op2 = __stack[--__sp];
__stack[__sp++] = __op1;
__stack[__sp++] = __op2;
__stack[__sp++] = __op1;
__op1 = __stack[--__sp];
__stack[__sp++] = __op1.$$$
;
__stack[__sp++] =
.$$$
;
__next_label =
; break;
__op1 = __stack[--__sp];
switch (__op1) {
case
: __next_label =
; break;
default: __next_label =
; break;
}
break;
__op1 = __stack[--__sp];
switch(__op1) {
case
: __next_label =
; break;
default: __next_label =
; break;
}
break;
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = __op1 + __op2;
__stack[__sp++] =
;
__op1 = __stack[--__sp];
if (__op1 == 0) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 === __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 >= __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 > __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 <= __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 == __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 < __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 != __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if (__op1 !== __op2) { __next_label =
; break }
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = Math.floor(__op1 / __op2);
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = __op1 / __op2;
if (__stack[--__sp] > 0) { __next_label =
; break }
if (__stack[--__sp] >= 0) { __next_label =
; break }
if (__stack[--__sp] <= 0) { __next_label =
; break }
if (__stack[--__sp] < 0) { __next_label =
; break }
if (__stack[--__sp] != 0) { __next_label =
; break }
if ((__stack[--__sp] instanceof java_lang_null) || (__stack[__sp] == 0)) { __next_label =
; break }
if (!(__stack[--__sp] instanceof java_lang_null)) { __next_label =
; break }
__value2 = __stack[--__sp];
__value1 = __stack[--__sp];
__stack[__sp++] = __value1 - Math.floor(__value1 / __value2) * __value2;
__value = __stack[--__sp];
__stack[__sp++] = __value * (-1);
__value = __stack[--__sp];
__stack[__sp++] = __value * (-1.0);
__locals[
] +=
;
__stack[__sp++] = __locals[
];
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = __op1 * __op2;
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
if(__op1 > __op2)
__stack[__sp++] = 1;
else if(__op1 == __op2)
__stack[__sp++] = 0;
else if(__op1 < __op2)
__stack[__sp++] = -1;
__count = __stack[--__sp];
__stack[__sp++] = new Array(__count);
__value = __stack[--__sp];
__index = __stack[--__sp];
__arrayref = __stack[--__sp];
__arrayref[__index] = __value;
__index = __stack[--__sp];
__arrayref = __stack[--__sp];
__stack[__sp++] = __arrayref[__index];
__value1 = __stack[--__sp];
__value2 = __stack[--__sp];
__stack[__sp++] = (__value1 || __value2);
__value1 = __stack[--__sp];
__value2 = __stack[--__sp];
__stack[__sp++] = (__value1 ^ __value2);
__value1 = __stack[--__sp];
__value2 = __stack[--__sp];
__stack[__sp++] = (__value1 && __value2);
__objectref = __stack[--__sp];
__stack[__sp++] = (__objectref
.constructor.toString().indexOf("Array") != -1
instanceof
) ? 1 : 0;
java.lang.ClassCastException
__objectref = __stack[__sp - 1];
if (!(__objectref instanceof java_lang_null) && !(__objectref
.constructor.toString().indexOf("Array") != -1
instanceof
)) {throw (new java_lang_ClassCastException).$$init_java_lang_ClassCastException___java_lang_String("ClassCastException");}
__arrayref = __stack[--__sp];
__stack[__sp++] = __arrayref.length;
--__sp;
__sp -=
;
__op1 =
.
(
,
__stack[__sp +
]
);
__stack[__sp++] = __op1;
__sp -=
;
__op1 =
__stack[__sp].
(
,
__stack[__sp +
]
);
__stack[__sp++] = __op1;
__sp -=
;
errorCode = 0;
if(__stack[__sp] == this) {
try {
__op1 = __stack[__sp].self(arguments).superclass.prototype.
.call(__stack[__sp]
,
__stack[__sp +
]
);
} catch (e) {
errorCode = 1;
}
}
if((errorCode != 0) || (__stack[__sp] != this)){
__op1 = __stack[__sp].
(
,
__stack[__sp +
]
);
}
__stack[__sp++] = __op1;
return __stack[--__sp];
__locals[
] = __stack[--__sp];
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = __op1 - __op2;
__stack[__sp++] =
;
java.lang.String
__stack[__sp++] = new java_lang_String("
");
__stack[__sp++] =
;
__stack[__sp++] =
;
__stack[__sp++] =
;
__stack[__sp++] =
;
__stack[__sp++] = new java_lang_Class("
");
__stack[__sp++] = new
();
ERROR();// new with signature not handled yet
__sp--;
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__op1.$$$
= __op2;
.$$$
= __stack[--__sp];
return this;
__op2 = __stack[--__sp];
__op1 = __stack[--__sp];
__stack[__sp++] = __op2;
__stack[__sp++] = __op1;
:
function(
,
__arg
)
__locals[
] = this;
__locals[
] = __arg
;
var __r
;
__r
= this;
__r
= __arg
;
dragomeJs.StringInit
$$init_
$$clinit_
$$cctor
$
void
XMLVM::INT
__ref
__
_
_
[]
_ARRAYTYPE
$
[]
_ARRAYTYPE
_
{
.$$clinit_ = function(){return this};
var
,
__r
__rtmp
__ex
;
__r
= this;
= __arg
;
var __next_label = -1;
while (1) {
switch (__next_label) {
case -1:
default:
alert("XMLVM internal error: reached default of switch");
}
}
}
__rtmp = __r
;
//INFO:
__r
= java_lang_Class.$forName___java_lang_String$java_lang_Class("
");
return this;
return __r
;
__r
= "
";
__r
=
;
__r
= __r
+
;
__r
= __r
+ __r
;
__r
= __r
* __r
;
__r
= __r
*
;
__r
= Math.floor(__r
/ __r
);
__r
= Math.floor(__r
/
);
__r
= __r
/ __r
;
__r
= __r
- __r
;
if (__r
< __r
){ __next_label =
; break; }
if (__r
<= __r
){ __next_label =
; break; }
if (__r
> __r
){ __next_label =
; break; }
if (__r
!= __r
){ __next_label =
; break; }
if (__r
== __r
){ __next_label =
; break; }
if (__r
>= __r
){ __next_label =
; break; }
if (!_isNull(__r
))
{ __next_label =
; break; }
if (_isNull(__r
)) { __next_label =
; break; }
if (__r
>= 0 ){ __next_label =
; break; }
if (__r
> 0 ){ __next_label =
; break; }
if (__r
<= 0 ){ __next_label =
; break; }
if (__r
< 0 ){ __next_label =
; break; }
__next_label =
; break;
__next_label =
; break;
__r
=
__r
.
(
,
__r
);
__r
=
arguments.callee.self.superclass.prototype
.
.call(this
,
__r
);
__r
=
.
(
,
__r
);
__r
=
this.superclass.prototype.
.call(arguments[0]
__r
.self(arguments).superclass.prototype.
.call(__r
,
__r
);
__r
=
eval("var "+__r + "= __r ");
eval(__r );
.
(
,
__r
);
__r
= new
();
__r
=
.$$clinit_().$$$
;
.$$clinit_().$$$
= __r
;
__r
= __r
.$$$
;
__r
.$$$
= __r
;
__r
= new Array(__r
);
__r
= [
,
];
__r
= __r
[__r
];
__r
[__r
] = __r
;
__r
= __r
.length;
__r
= __r
& 0xff;
__r
= (__r
> 127) ? __r
| 0xffffff00 : __r
;
__r
= __r
& 0xffff;
__r
= (__r
> 0x7fff) ? __r
| 0xffff0000 : __r
;
__r
= __r
& 0xffff;
__r
= Math.floor(__r
);
__r
= Math.floor(__r
);
__r
= Math.floor(__r
);
__r
= __r
* 1.0;
__r
= __r
;
__r
= __r
* 1.0;
__r
= __r
;
__r
= (
__r
.constructor.toString().indexOf("Array") != -1
dragomeJs.isInstanceof(
__r
,
)
) ? 1 : 0;
__r
= __r
> __r
? 1 : (__r
== __r
? 0 : -1);
__r
= __r
> __r
? 1 : (__r
== __r
? 0 : -1);
__r
= __r
> __r
? 1 : (__r
== __r
? 0 : -1);
__r
= -__r
;
__r
= __r
;
__r
= __r
% __r
;
__r
= __r
%
;
__r
= __r
& __r
;
__r
= __r
&
;
__r
= __r
|
;
__r
= __r
| __r
;
__r
= __r
| __r
;
__r
= __r
^ __r
;
__r
= __r
^
;
var default_case = false;
switch (__r
) {
case
: __next_label =
; break;
default: default_case = true; break;
}
if (!default_case) break;
else throw dragomeJs.nullSaveException(ex); }
var __ex;
try {
} catch(ex) {
if (false) {}
else if (dragomeJs.isInstanceof(ex,
)) {
__ex = ex;
__next_label =
;
break;
}
__r
= __ex;
throw dragomeJs.nullSaveException(__r
);
__r
= __r
>>
;
__r
= __r
>>>
;
__
_
_
[]
_ARRAYTYPE
$
[]
_ARRAYTYPE
ERROR("
");