From: Lucas Bajolet Date: Mon, 18 Mar 2013 19:16:25 +0000 (-0400) Subject: nitdbg: Added module and class Breakpoint X-Git-Tag: v0.6~79^2~42 X-Git-Url: http://nitlanguage.org nitdbg: Added module and class Breakpoint Signed-off-by: Lucas BAJOLET --- diff --git a/src/breakpoint.nit b/src/breakpoint.nit new file mode 100644 index 0000000..b2d1aef --- /dev/null +++ b/src/breakpoint.nit @@ -0,0 +1,33 @@ +# This file is part of NIT ( http://www.nitlanguage.org ). +# +# Copyright 2013 Lucas Bajolet +# +# 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