PageRenderTime 61ms CodeModel.GetById 56ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/src/lib/xml/namespaces/xmlns_node.e

http://github.com/tybor/Liberty
Specman e | 48 lines | 16 code | 5 blank | 27 comment | 0 complexity | 480a247a05ecdd2541cf09b780c80cd7 MD5 | raw file
 1-- See the Copyright notice at the end of this file.
 2--
 3deferred class XMLNS_NODE
 4   --
 5   -- A node in an XMLNS_TREE
 6   --
 7
 8insert
 9   VISITABLE
10
11feature {ANY}
12   line, column: INTEGER
13         -- The position of the node in its source file
14
15   parent: XMLNS_COMPOSITE_NODE
16         -- The parent of the node, Void if it is the root
17
18feature {XMLNS_COMPOSITE_NODE}
19   set_parent (a_parent: like parent)
20      require
21         a_parent /= Void
22      do
23         parent := a_parent
24      ensure
25         parent = a_parent
26      end
27
28end -- class XMLNS_NODE
29--
30-- Copyright (C) 2009-2017: by all the people cited in the AUTHORS file.
31--
32-- Permission is hereby granted, free of charge, to any person obtaining a copy
33-- of this software and associated documentation files (the "Software"), to deal
34-- in the Software without restriction, including without limitation the rights
35-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36-- copies of the Software, and to permit persons to whom the Software is
37-- furnished to do so, subject to the following conditions:
38--
39-- The above copyright notice and this permission notice shall be included in
40-- all copies or substantial portions of the Software.
41--
42-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48-- THE SOFTWARE.