StringBuilder.hx 512 B

123456789101112131415
  1. package cs;
  2. //FIXME this class is here due to seemingly a bug in type resolution inside _std packages.
  3. //Once this bug is fixed, it will be moved back to the cs.system.text package
  4. @:native('System.Text.StringBuilder') extern class StringBuilder
  5. {
  6. function new():Void;
  7. @:overload(function(char:cs.StdTypes.Char16):cs.StringBuilder {})
  8. @:overload(function(str:String, startIndex:Int, len:Int):cs.StringBuilder {})
  9. function Append(obj:Dynamic):StringBuilder;
  10. function ToString():String;
  11. }