nitdbg: Added module and class Breakpoint
authorLucas Bajolet <r4pass@hotmail.com>
Mon, 18 Mar 2013 19:16:25 +0000 (15:16 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Tue, 19 Mar 2013 18:02:51 +0000 (14:02 -0400)
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>

src/breakpoint.nit [new file with mode: 0644]

diff --git a/src/breakpoint.nit b/src/breakpoint.nit
new file mode 100644 (file)
index 0000000..b2d1aef
--- /dev/null
@@ -0,0 +1,33 @@
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2013 Lucas Bajolet <lucas.bajolet@gmail.com>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Classes and methods relative to the management of Breakpoints for the Debugger
+module breakpoint
+
+# Contains all the informations of a Breakpoint for the Debugger
+class Breakpoint
+
+       var line: Int
+
+       var file: String
+
+       init(line: Int, file: String)
+       do
+               self.line = line
+               self.file = file
+       end
+
+end