class E_CHECK
creation features
exported features
end_mark_comment: BOOLEAN
constant attribute
True for instructions which may have a possible "end" mark comment.
side_effect_free (type: TYPE): BOOLEAN
effective function
True when the evaluation of Current has no side effect at all (i.e. no memory allocated, no modification in the _heap_ memory, no external code with possible side effect).
start_position: POSITION
effective function
Of keyword "check".
specialize_in (type: TYPE): E_CHECK
effective function
Specialize Current knowing that the corresponding source code was written in type.
specialize_thru (parent_type: TYPE, parent_edge: PARENT_EDGE, new_type: TYPE): E_CHECK
effective function
Assuming that Current is already specialized in parent_type, now specialize Current for the new_type knowing that this source code is inherited thru parent_edge.
specialize_2 (type: TYPE): E_CHECK
effective function
This specialize_2 step is applyed after specialize_in / specialize_thru.
has_been_specialized: BOOLEAN
effective function
Used both for specialize_in and specialize_thru to indicate that we have all FEATURE_STAMPs ready for use and that FEATURE_NAMEs are no longer used (except for calls on non-current target who are available after specialize_2 -- step).
safety_check (type: TYPE)
effective procedure
simplify (type: TYPE): INSTRUCTION
effective function
May return Current, Void or a simplified version of Current.
compile_to_c (type: TYPE)
effective procedure
For an INSTRUCTION, produce the corresponding C code.
compile_to_jvm (type: TYPE)
effective procedure
use_current (type: TYPE): BOOLEAN
effective function
Is Current used?
pretty (indent_level: INTEGER_32)
effective procedure
accept (visitor: E_CHECK_VISITOR)
effective procedure
Accept to be visited by the visitor.
collect (t: TYPE)
effective procedure
(See comment of {EXPRESSION}.collect.)
adapt_for (type: TYPE): E_CHECK
effective function
(See comment of {EXPRESSION}.adapt_for.)
is_not_a_compound: BOOLEAN
effective function
Mostly for assertion checks.
specialize_2_without_checks (type: TYPE): CODE
effective function
Perform specialize_2 without checking the validity (export violations, ...)