GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
EIFFEL_TERMINAL_NODE_IMPL
+
Point of view
All features
ANY
EIFFEL_GRAMMAR
EIFFEL_NODE_HANDLER
EIFFEL_NON_TERMINAL_NODE
EIFFEL_LIST_NODE
All features
class EIFFEL_TERMINAL_NODE_IMPL
Summary
top
Direct parents
Inherit list:
EIFFEL_TERMINAL_NODE
Overview
top
Creation features
{
EIFFEL_NODE_FACTORY
}
make
(a_name:
FIXED_STRING
, a_image:
EIFFEL_IMAGE
)
Features
{
ANY
}
name
:
FIXED_STRING
the name of the node in the grammar
image
:
EIFFEL_IMAGE
accept
(visitor:
VISITOR
)
Accept to be visited by the
visitor
.
{
EIFFEL_NODE_HANDLER
}
display
(output:
OUTPUT_STREAM
, indent:
INTEGER_32
, p:
STRING
)
Display the node in a tree fashion in the provided
output
stream
generate
(o:
OUTPUT_STREAM
)
Generate the node exactly as it was written, including blanks and
forgotten
nodes, onto the provided
output
stream
{}
make
(a_name:
FIXED_STRING
, a_image:
EIFFEL_IMAGE
)
{
ANY
}
source_line
:
INTEGER_32
source_column
:
INTEGER_32
source_index
:
INTEGER_32
{
ANY
}
parent
:
EIFFEL_NODE
the parent node
forgotten
:
FAST_ARRAY
[
EIFFEL_NODE
]
used when this node is in a
EIFFEL_LIST_NODE
and nodes are between this node and the next one
{
EIFFEL_GRAMMAR
}
set_forgotten
(a_forgotten:
FAST_ARRAY
[
EIFFEL_NODE
])
{
EIFFEL_NODE_HANDLER
}
generate_forgotten
(o:
OUTPUT_STREAM
)
{
EIFFEL_NON_TERMINAL_NODE
,
EIFFEL_LIST_NODE
}
set_parent
(a_parent:
EIFFEL_NODE
)
{}
do_indent
(output:
OUTPUT_STREAM
, indent:
INTEGER_32
, p:
STRING
)
name
:
FIXED_STRING
writable attribute
{
ANY
}
top
the name of the node in the grammar
ensure
name /= Void
image
:
EIFFEL_IMAGE
writable attribute
{
ANY
}
top
accept
(visitor:
VISITOR
)
effective procedure
{
ANY
}
top
Accept to be visited by the
visitor
.
require
visitor /= Void
display
(output:
OUTPUT_STREAM
, indent:
INTEGER_32
, p:
STRING
)
effective procedure
{
EIFFEL_NODE_HANDLER
}
top
Display the node in a tree fashion in the provided
output
stream
generate
(o:
OUTPUT_STREAM
)
effective procedure
{
EIFFEL_NODE_HANDLER
}
top
Generate the node exactly as it was written, including blanks and
forgotten
nodes, onto the provided
output
stream
make
(a_name:
FIXED_STRING
, a_image:
EIFFEL_IMAGE
)
effective procedure
{}
top
ensure
name
= a_name
image
= a_image
source_line
:
INTEGER_32
effective function
{
ANY
}
top
source_column
:
INTEGER_32
effective function
{
ANY
}
top
source_index
:
INTEGER_32
effective function
{
ANY
}
top
parent
:
EIFFEL_NODE
writable attribute
{
ANY
}
top
the parent node
forgotten
:
FAST_ARRAY
[
EIFFEL_NODE
]
writable attribute
{
ANY
}
top
used when this node is in a
EIFFEL_LIST_NODE
and nodes are between this node and the next one
set_forgotten
(a_forgotten:
FAST_ARRAY
[
EIFFEL_NODE
])
effective procedure
{
EIFFEL_GRAMMAR
}
top
ensure
forgotten
= a_forgotten
generate_forgotten
(o:
OUTPUT_STREAM
)
effective procedure
{
EIFFEL_NODE_HANDLER
}
top
set_parent
(a_parent:
EIFFEL_NODE
)
effective procedure
{
EIFFEL_NON_TERMINAL_NODE
,
EIFFEL_LIST_NODE
}
top
require
a_parent /= Void
parent
= Void
ensure
parent
= a_parent
do_indent
(output:
OUTPUT_STREAM
, indent:
INTEGER_32
, p:
STRING
)
effective procedure
{}
top