aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-29 14:50:47 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-29 14:50:47 +0200
commit23dad64d8b31ef59b15076d73b99b444e22e1e5c (patch)
tree4fd089228ffa6ac704c1c2b9a433311d1c5216f3
parent0fce3078006928700d7e65660d49f693dc4293d2 (diff)
downloadPraspel-23dad64d8b31ef59b15076d73b99b444e22e1e5c.zip
Praspel-23dad64d8b31ef59b15076d73b99b444e22e1e5c.tar.gz
Praspel-23dad64d8b31ef59b15076d73b99b444e22e1e5c.tar.bz2
Move to `Hoa\Ustring`.
-rw-r--r--Visitor/Interpreter.php6
-rw-r--r--composer.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index e12b20c..bc3940f 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -38,7 +38,7 @@ namespace Hoa\Praspel\Visitor;
use Hoa\Praspel;
use Hoa\Realdom;
-use Hoa\String;
+use Hoa\Ustring;
use Hoa\Visitor;
from('Hoa')
@@ -573,13 +573,13 @@ class Interpreter implements Visitor\Visit
return "\033[D";
case 'x':
- return String::fromCode(hexdec($value));
+ return Ustring::fromCode(hexdec($value));
case '\\':
return $value[1];
default:
- return String::fromCode(octdec($value));
+ return Ustring::fromCode(octdec($value));
}
case 'accepted':
diff --git a/composer.json b/composer.json
index ee6a3a5..312580c 100644
--- a/composer.json
+++ b/composer.json
@@ -28,7 +28,7 @@
"hoa/file" : "~0.0",
"hoa/iterator": "~1.0",
"hoa/realdom" : "~0.0",
- "hoa/string" : "~2.0",
+ "hoa/ustring" : "~3.0",
"hoa/visitor" : "~1.0"
},
"require-dev": {