First commit
This commit is contained in:
48
hGameTest/node_modules/openfl/lib/_gen/StringBuf.js
generated
vendored
Normal file
48
hGameTest/node_modules/openfl/lib/_gen/StringBuf.js
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
// Class: StringBuf
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./hxClasses_stub").default;
|
||||
var $import = require("./import_stub").default;
|
||||
function Std() {return require("./Std");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var StringBuf = function() {
|
||||
this.b = "";
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
StringBuf.__name__ = ["StringBuf"];
|
||||
StringBuf.prototype = {
|
||||
add: function(x) {
|
||||
this.b += (Std().default).string(x);
|
||||
},
|
||||
addChar: function(c) {
|
||||
this.b += String.fromCharCode(c);
|
||||
},
|
||||
toString: function() {
|
||||
return this.b;
|
||||
}
|
||||
};
|
||||
StringBuf.prototype.__class__ = $hxClasses["StringBuf"] = StringBuf;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
|
||||
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = StringBuf;
|
||||
Reference in New Issue
Block a user