Added set_representation feature.

This commit is contained in:
jvelilla
2009-08-14 11:09:38 +00:00
parent ab19cc2b16
commit aed8d1a516

View File

@@ -12,15 +12,23 @@ create
feature {NONE} -- Initialization feature {NONE} -- Initialization
make (a_json: STRING) is make (a_json: STRING) is
-- Initialize Reader -- Initialize Reader
do do
representation := a_json set_representation (a_json)
index := 1 end
end
feature -- Commands feature -- Commands
set_representation (a_json: STRING) is
-- Set `representation'.
do
a_json.left_adjust
a_json.right_adjust
representation := a_json
index := 1
end
read: CHARACTER is read: CHARACTER is
-- Read character -- Read character
do do