var o = null,
o = TObject.Create($New(TBase));
WriteLn("From Outside");
WriteLn(3);
WriteLn(3);
TBase.ClassWriteLnAll(TBase);
TBase.WriteLnAll(o);
TChild.WriteLnFromChild(TObject.Create($New(TChild)));
WriteLn(1);
WriteLn(2);
WriteLn("toto");
maclasse1.Test$1(maclasse1);
maclasse2.Test(maclasse2);
WriteLn(TObject.Create($New(TObj)).FField$1);
WriteLn(TObject.Create($New(TObj2)).FField);
/// TObj2 = class (TObject)
/// [line: 120, column: 1, file: uMain]
var TObj2 = {
$ClassName:"TObj2",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
$.FField = 6;
}
,Destroy:TObject.Destroy
};
/// TObj = class (TObject)
/// [line: 114, column: 1, file: uMain]
var TObj = {
$ClassName:"TObj",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
$.FField$1 = 5;
}
,Destroy:TObject.Destroy
};
/// TBase = class (TObject)
/// [line: 72, column: 1, file: uMain]
var TBase = {
$ClassName:"TBase",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
}
/// procedure TBase.WriteLnAll()
/// [line: 127, column: 17, file: uMain]
,WriteLnAll:function(Self) {
WriteLn("From base");
WriteLn(1);
WriteLn(2);
WriteLn(3);
}
/// procedure TBase.ClassWriteLnAll()
/// [line: 135, column: 23, file: uMain]
,ClassWriteLnAll:function(Self) {
WriteLn("From class proc");
WriteLn(1);
WriteLn(2);
WriteLn(3);
}
,Destroy:TObject.Destroy
};
/// TChild = class (TBase)
/// [line: 81, column: 1, file: uMain]
var TChild = {
$ClassName:"TChild",$Parent:TBase
,$Init:function ($) {
TBase.$Init($);
}
/// procedure TChild.WriteLnFromChild()
/// [line: 143, column: 18, file: uMain]
,WriteLnFromChild:function(Self) {
WriteLn("From child");
WriteLn(2);
WriteLn(3);
}
,Destroy:TObject.Destroy
};
/// TBase2 = class (TObject)
/// [line: 86, column: 1, file: uMain]
var TBase2 = {
$ClassName:"TBase2",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
}
,Destroy:TObject.Destroy
};
/// maclasse2 = class (TObject)
/// [line: 103, column: 6, file: uMain]
var maclasse2 = {
$ClassName:"maclasse2",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
}
/// procedure maclasse2.Test()
/// [line: 107, column: 19, file: uMain]
,Test:function(Self) {
WriteLn("tata");
}
,Destroy:TObject.Destroy
};
/// maclasse1 = class (TObject)
/// [line: 93, column: 6, file: uMain]
var maclasse1 = {
$ClassName:"maclasse1",$Parent:TObject
,$Init:function ($) {
TObject.$Init($);
}
/// procedure maclasse1.Test()
/// [line: 97, column: 20, file: uMain]
,Test$1:function(Self) {
WriteLn("titi");
}
,Destroy:TObject.Destroy
};