Reformatted code to Eiffel Standard

This commit is contained in:
jvelilla
2008-08-08 11:01:14 +00:00
parent fa35ab07a0
commit d64e01641b

View File

@@ -19,10 +19,13 @@ indexing
deferred class deferred class
JSON_VALUE JSON_VALUE
inherit
HASHABLE inherit
HASHABLE
feature -- Access feature -- Access
to_json:STRING is to_json:STRING is
-- Generate the JSON String for this value object -- Generate the JSON String for this value object
-- return a correct JSON-STRING -- return a correct JSON-STRING
@@ -32,7 +35,7 @@ feature -- Access
feature -- Status Report feature -- Status Report
is_json_array:BOOLEAN is is_json_array:BOOLEAN is
-- Does `Current' represent a JSON_ARRAY? -- Does `Current' represent a JSON_ARRAY?
do do
if generating_type.is_equal ("JSON_ARRAY") then if generating_type.is_equal ("JSON_ARRAY") then
Result := true Result := true
@@ -40,7 +43,7 @@ feature -- Status Report
end end
is_json_string:BOOLEAN is is_json_string:BOOLEAN is
-- Does `Current' represent a JSON_STRING? -- Does `Current' represent a JSON_STRING?
do do
if generating_type.is_equal ("JSON_STRING") then if generating_type.is_equal ("JSON_STRING") then
Result := true Result := true
@@ -49,7 +52,7 @@ feature -- Status Report
end end
is_json_object:BOOLEAN is is_json_object:BOOLEAN is
-- Does `Current' represent a JSON_OBJECT? -- Does `Current' represent a JSON_OBJECT?
do do
if generating_type.is_equal ("JSON_OBJECT") then if generating_type.is_equal ("JSON_OBJECT") then
@@ -59,7 +62,7 @@ feature -- Status Report
end end
is_json_number:BOOLEAN is is_json_number:BOOLEAN is
-- Does 'Current' represent a JSON_NUMBER? -- Does 'Current' represent a JSON_NUMBER?
do do
if generating_type.is_equal ("JSON_NUMBER") then if generating_type.is_equal ("JSON_NUMBER") then
Result := true Result := true
@@ -67,7 +70,7 @@ feature -- Status Report
end end
is_json_boolean:BOOLEAN is is_json_boolean:BOOLEAN is
-- Does 'Current' represent a JSON_BOOLEAN? -- Does 'Current' represent a JSON_BOOLEAN?
do do
if generating_type.is_equal ("JSON_BOOLEAN") then if generating_type.is_equal ("JSON_BOOLEAN") then
Result := true Result := true