GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
liberty
>
GENERIC_NODE
+
Point of view
XML_COMPOSITE_NODE
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
XML_COMPOSITE_NODE
XML_TREE
All features
class GENERIC_NODE
Summary
top
A generic XML node generated by gccxml, i.e. not handled as a specific type.
Direct parents
Inherit list:
XML_COMPOSITE_NODE
Insert list:
SHARED_SETTINGS
Class invariant
top
name /= Void
Overview
top
Exported features
for_each
(a_procedure:
PROCEDURE
[
TUPLE 1
[
GCCXML_NODE
]])
name
:
UNICODE_STRING
The name of the node
attribute_name
(index:
INTEGER_32
):
UNICODE_STRING
The name of the i'th attribute
attribute_value
(index:
INTEGER_32
):
UNICODE_STRING
The value of the i'th attribute
attribute_at
(a_attribute_name:
UNICODE_STRING
):
UNICODE_STRING
The value of the attribute given by its name; Void if not set
attributes_count
:
INTEGER_32
The number of attributes
child
(index:
INTEGER_32
):
XML_NODE
The i'th child
children_count
:
INTEGER_32
The number of children
accept
(visitor:
VISITOR
)
Accept to be visited by the
visitor
.
line
:
INTEGER_32
The position of the node in its source file
column
:
INTEGER_32
The position of the node in its source file
parent
:
XML_COMPOSITE_NODE
The parent of the node, Void if it is the root
set_parent
(a_parent:
XML_COMPOSITE_NODE
)
settings
:
SETTINGS
The singleton to access all the shared settings
directory
:
STRING
Shortcut for settings.directory
Plugin
include
:
TEXT_FILE_WRITE
source
:
TEXT_FILE_WRITE
Syntactic sugar
verbose
:
BOOLEAN
global
:
BOOLEAN
for_each
(a_procedure:
PROCEDURE
[
TUPLE 1
[
GCCXML_NODE
]])
effective procedure
top
name
:
UNICODE_STRING
writable attribute
top
The name of the node
attribute_name
(index:
INTEGER_32
):
UNICODE_STRING
effective function
top
The name of the i'th attribute
require
index.in_range(1,
attributes_count
)
attribute_value
(index:
INTEGER_32
):
UNICODE_STRING
effective function
top
The value of the i'th attribute
require
index.in_range(1,
attributes_count
)
attribute_at
(a_attribute_name:
UNICODE_STRING
):
UNICODE_STRING
effective function
top
The value of the attribute given by its name; Void if not set
attributes_count
:
INTEGER_32
effective function
top
The number of attributes
child
(index:
INTEGER_32
):
XML_NODE
effective function
top
The i'th child
require
index.in_range(1,
children_count
)
children_count
:
INTEGER_32
effective function
top
The number of children
accept
(visitor:
VISITOR
)
effective procedure
top
Accept to be visited by the
visitor
.
require
visitor /= Void
line
:
INTEGER_32
writable attribute
top
The position of the node in its source file
column
:
INTEGER_32
writable attribute
top
The position of the node in its source file
parent
:
XML_COMPOSITE_NODE
writable attribute
top
The parent of the node, Void if it is the root
set_parent
(a_parent:
XML_COMPOSITE_NODE
)
effective procedure
top
require
a_parent /= Void
ensure
parent
= a_parent
settings
:
SETTINGS
once function
top
The singleton to access all the shared settings
directory
:
STRING
effective function
top
Shortcut for settings.directory
include
:
TEXT_FILE_WRITE
once function
top
source
:
TEXT_FILE_WRITE
once function
top
verbose
:
BOOLEAN
effective function
top
global
:
BOOLEAN
effective function
top