GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
smarteiffel
>
INLINE_MEMO
+
Point of view
All features
ANY
ANONYMOUS_FEATURE
EFFECTIVE_ARG_LIST
SMART_EIFFEL
All features
class INLINE_MEMO
Summary
top
Used to store the result of an inlining attempt. Just because a Void
Result
would be ambiguous: if the caller get an
INLINE_MEMO
, he knows that the inlining was possible, even, if the result of the inlining is a Void value!
Direct parents
Insert list:
ANY
Overview
top
Creation features
{
SMART_EIFFEL
}
make
Features
{
ANY
}
expression
:
EXPRESSION
instruction
:
INSTRUCTION
cleared
:
BOOLEAN
is_instruction_holder
:
BOOLEAN
is_expression_holder
:
BOOLEAN
{
ANONYMOUS_FEATURE
,
EFFECTIVE_ARG_LIST
}
set_expression
(e:
EXPRESSION
)
set_instruction
(i:
INSTRUCTION
)
{
SMART_EIFFEL
}
clear
{}
code
:
CODE
make
expression
:
EXPRESSION
effective function
{
ANY
}
top
require
is_expression_holder
ensure
Result /= Void
instruction
:
INSTRUCTION
effective function
{
ANY
}
top
require
is_instruction_holder
cleared
:
BOOLEAN
effective function
{
ANY
}
top
is_instruction_holder
:
BOOLEAN
effective function
{
ANY
}
top
is_expression_holder
:
BOOLEAN
effective function
{
ANY
}
top
set_expression
(e:
EXPRESSION
)
effective procedure
{
ANONYMOUS_FEATURE
,
EFFECTIVE_ARG_LIST
}
top
require
e /= Void
code
= Void
ensure
code
= e
set_instruction
(i:
INSTRUCTION
)
effective procedure
{
ANONYMOUS_FEATURE
,
EFFECTIVE_ARG_LIST
}
top
require
code
= Void
ensure
code
= i
clear
effective procedure
{
SMART_EIFFEL
}
top
code
:
CODE
writable attribute
{}
top
make
effective procedure
{}
top