public function nextSafeToken() { if ($this->i < $this->n) { $this->c = haxe_Utf8::charCodeAt(_hx_substr($this->str, $this->i, null), 0); $this->i += strlen(com_wiris_util_json_StringParser_0($this)); } else { $this->c = -1; } }
static function iter($s, $chars) { $len = haxe_Utf8::length($s); $_g = 0; while ($_g < $len) { $i = $_g++; call_user_func_array($chars, array(haxe_Utf8::charCodeAt($s, $i))); unset($i); } }
static function charCodeAt($s, $i) { $i8 = com_wiris_system_Utf8_0($i, $s); $charCode = haxe_Utf8::charCodeAt($s, $i8); return com_wiris_system_Utf8_1($charCode, $i, $i8, $s); }