/[eiffelstudio]/FreeELKS/trunk/library/refactoring/refactoring_helper.e
ViewVC logotype

Contents of /FreeELKS/trunk/library/refactoring/refactoring_helper.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 91477 - (show annotations)
Sun Jan 14 09:47:13 2007 UTC (13 years ago) by ericb
File size: 1294 byte(s)
Synchronized with ISE 6.0.65740
1 indexing
2
3 description: "[
4 Collection of features that are used to mark
5 places in code that needs refactoring.
6 ]"
7
8 library: "Free implementation of ELKS library"
9 copyright: "Copyright (c) 2005, Eiffel Software and others"
10 license: "Eiffel Forum License v2 (see forum.txt)"
11 date: "$Date$"
12 revision: "$Revision$"
13
14 class REFACTORING_HELPER
15
16 feature -- Markers
17
18 fixme (comment: STRING) is
19 -- Mark code that has to be "fixed" with `comment'.
20 require
21 comment_not_void: comment /= Void
22 do
23 debug ("refactor_fixme")
24 io.error.put_string ("FIXME: ")
25 io.error.put_string (comment)
26 io.error.put_new_line
27 end
28 end
29
30 to_implement (comment: STRING) is
31 -- Mark code that has to be "implemented" with `comment'.
32 require
33 comment_not_void: comment /= Void
34 do
35 debug ("refactor_fixme")
36 io.error.put_string ("TO_BE_IMPLEMENTED: ")
37 io.error.put_string (comment)
38 io.error.put_new_line
39 end
40 end
41
42 to_implement_assertion (comment: STRING): BOOLEAN is
43 -- Mark assertion that has to be "implemented" with `comment'.
44 require
45 comment_not_void: comment /= Void
46 do
47 debug ("refactor_fixme")
48 io.error.put_string ("ASSERTION_TO_BE_IMPLEMENTED: ")
49 io.error.put_string (comment)
50 io.error.put_new_line
51 end
52 Result := True
53 end
54
55 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23