class FUNCTION_CALL_N
Summary
Class invariant
Overview
Creation features
Exported features
For pretty and short:
extra_bracket_flag: BOOLEAN
is False
constant attribute
True when we do have to add an extra pair of brackets if the Current expression is the target of a call.
arguments: EFFECTIVE_ARG_LIST
writable attribute
Arguments of the call if any.
set_arguments (a: EFFECTIVE_ARG_LIST)
effective procedure
precedence: INTEGER_32
effective function
Handling of precedence (priority of expressions).
arg_count: INTEGER_32
effective function
The arguments count or 0.
specialize_in (type: TYPE): FUNCTION_CALL_N
effective function
--------- Duplicate code call_1/proc_call_1/call_n/proc_call_n -----------
specialize_thru (parent_type: TYPE, parent_edge: PARENT_EDGE, new_type: TYPE): FUNCTION_CALL_N
effective function
--------- Duplicate code call_1/proc_call_1/call_n/proc_call_n -----------
specialize_and_check (type: TYPE): EXPRESSION
effective function
--------- Duplicate code call_1/proc_call_1/call_n/proc_call_n -----------
simplify (type: TYPE): EXPRESSION
frozen
effective function
May return Current, Void or a simplified version of Current.
bracketed_pretty (indent_level: INTEGER_32)
effective procedure
For pretty.
pretty (indent_level: INTEGER_32)
effective procedure
short (type: TYPE)
effective procedure
Produce the short command output in the given context type.
short_target (type: TYPE)
effective procedure
Produce the short command output in the given context type.
accept (visitor: FUNCTION_CALL_N_VISITOR)
effective procedure
Accept to be visited by the visitor.
is_writable: BOOLEAN
is False
constant attribute
Is is something that one can find on the left-hand-side of the := operator ?
is_current: BOOLEAN
is False
constant attribute
Is it a Current like expression (really written Current or some implicit not-written Current)?
is_implicit_current: BOOLEAN
is False
constant attribute
Is it an implicit Current (i.e., not explicitly written)?
is_manifest_string: BOOLEAN
is False
constant attribute
Is it a manifest string (i.e. a basic manifest string or some verbatim manifest string)?
is_result: BOOLEAN
is False
constant attribute
Is it the pseudo local variable Result ?
is_void: BOOLEAN
is False
constant attribute
Is it the built-in Void?
is_static: BOOLEAN
is False
constant attribute
True if the expression has always the same static value regardless the context of the code.
resolve_in (type: TYPE): TYPE
effective function
This method may be called to solve the Current expression type knowing that the Current expression has_been_specialized for the type given as an argument.
declaration_type: TYPE
effective function
The static type one can deduce from the declaration written in source text.
written_declaration_type_mark: TYPE_MARK
effective function
This variant of declaration_type is used to check the left-hand side of "?:=", "::=" or "?=" and the generic creation constraints.
non_void_no_dispatch_type (type: TYPE): TYPE
frozen
effective function
A non Void Result indicates that Current cannot be Void and that Current drives exactly to a single possible dynamic TYPE.
pretty_target (indent_level: INTEGER_32)
effective procedure
For pretty.
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_and_check -- step).
extra_local_expanded (type: TYPE): TYPE
effective function
Assuming that Current is used as some target, if some extra local variable is required, the corresponding user's expanded type is returned.
creation_type: TYPE_MARK
effective function
Must be set to avoid the standard check.
is_default_value: BOOLEAN
frozen
effective function
True if Current represents Void, False , 0, or whatever is a default value.
is_stored_in_some_local_variable: BOOLEAN
frozen
effective function
True if Current is stored in some local variable of the _target_ language.
collect (type: TYPE): TYPE
deferred function
Collect Current to become actually true live code in type knowing that Current already specialized in type.
static_simplify: EXPRESSION
effective function
This one is working completely out of context and is called directly by the parser only for some typical expressions.
base_class_written: CLASS_TEXT
frozen
effective function
The base class where this expression is written.
written_in: CLASS_NAME
frozen
effective function
The name of the base class where this expression is written.
is_an_acceptable_replacement (type: TYPE, other: EXPRESSION): BOOLEAN
frozen
effective function
Well, it is just for debug (see ensure).
inline_dynamic_dispatch (code_accumulator: CODE_ACCUMULATOR, type: TYPE): EXPRESSION
frozen
effective function
bracketed_short (type: TYPE)
frozen
effective procedure
start_position: POSITION
deferred function
Of the left-most character of Current.
specialize_without_checks (type: TYPE): CODE
effective function
Perform specialize_and_check without checking the validity (export violations, ...)
side_effect_free (type: TYPE): BOOLEAN
deferred 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).
use_current (type: TYPE): BOOLEAN
deferred function
Is Current used?
to_expression: EXPRESSION
effective function
Safe down-casting.
to_instruction: INSTRUCTION
effective function
Safe down-casting.
is_not_a_compound: BOOLEAN
frozen
effective function
Mostly for assertion checks.
adapt_for (type: TYPE): FUNCTION_CALL_N
deferred function
This function is called only once at the end of the compilation process (i.e. after collect inline_dynamic_dispatch and simplify).
safety_check (type: TYPE)
deferred procedure
smart_eiffel: SMART_EIFFEL
frozen
once function
eiffel_parser: EIFFEL_PARSER
frozen
once function
ace: ACE
frozen
once function
ini_parser: INI_PARSER
frozen
once function
plugin_config: INI_PARSER
frozen
once function
error_handler: ERROR_HANDLER
frozen
once function
string_aliaser: STRING_ALIASER
frozen
once function
frozen
once function
pretty_printer: PRETTY_PRINTER
frozen
once function
mini_buffer: MINI_BUFFER
frozen
once function
nb_errors: INTEGER_32
effective function
system_tools: SYSTEM_TOOLS
frozen
once function
introspection_handler: INTROSPECTION_HANDLER
frozen
once function
assignment_test_pool: ASSIGNMENT_TEST_POOL
frozen
once function
precomputable_routine_detector: PRECOMPUTABLE_ROUTINE_DETECTOR
frozen
once function
feature_accumulator: FEATURE_ACCUMULATOR
frozen
once function
live_type_extra_collectors: FAST_ARRAY[LIVE_TYPE_EXTRA_COLLECTOR]
frozen
once function
id_provider: ID_PROVIDER
frozen
once function
manifest_string_pool: MANIFEST_STRING_POOL
frozen
once function
manifest_generic_pool: MANIFEST_GENERIC_POOL
frozen
once function
once_routine_pool: ONCE_ROUTINE_POOL
frozen
once function
agent_pool: AGENT_POOL
frozen
once function
cecil_pool: CECIL_POOL
frozen
effective function
cecil_pool_memory: REFERENCE[CECIL_POOL]
frozen
once function
set_cecil_pool
frozen
once procedure
short_printer: SHORT_PRINTER
frozen
once function
echo: ECHO
frozen
once function
assignment_handler: ASSIGNMENT_HANDLER
frozen
once function
thread_pool: THREAD_POOL
frozen
once function
exceptions: EXCEPTIONS
frozen
writable attribute
exceptions_handler: EXCEPTIONS_HANDLER
frozen
once function
nb_warnings: INTEGER_32
effective function
tmp_path: STRING
once function
tmp_file_read: TEXT_FILE_READ
once function
class_any: CLASS_TEXT
once function
omitted_client_list: CLIENT_LIST
frozen
once function
(To avoid multiple creation(s).)
any_default_create_fs: FEATURE_STAMP
once function
any_default_rescue_fs: FEATURE_STAMP
once function
any_copy_fs: FEATURE_STAMP
once function
any_is_equal_fs: FEATURE_STAMP
once function
any_deep_twin_fs: FEATURE_STAMP
once function
any_is_deep_equal_fs: FEATURE_STAMP
once function
boolean_and_then_fs: FEATURE_STAMP
once function
manifest_make_name: HASHED_STRING
once function
manifest_put_name: HASHED_STRING
once function
manifest_semicolon_check_name: HASHED_STRING
once function
manifest_initialize_name: HASHED_STRING
once function
calloc_name: HASHED_STRING
once function
put_name: HASHED_STRING
once function
item_name: HASHED_STRING
once function
is_empty_name: HASHED_STRING
once function
make_name: HASHED_STRING
once function
from_external_sized_copy_name: HASHED_STRING
once function
count_name: HASHED_STRING
once function
storage_name: HASHED_STRING
once function
capacity_name: HASHED_STRING
once function
storage_lower_name: HASHED_STRING
once function
mark_item_name: HASHED_STRING
once function
mark_native_arrays_name: HASHED_STRING
once function
and_then_name: HASHED_STRING
once function
or_else_name: HASHED_STRING
once function
twin_name: HASHED_STRING
once function
copy_name: HASHED_STRING
once function
is_equal_name: HASHED_STRING
once function
deep_twin_name: HASHED_STRING
once function
deep_twin_from_name: HASHED_STRING
once function
is_deep_equal_name: HASHED_STRING
once function
deep_memcmp_name: HASHED_STRING
once function
se_atexit_name: HASHED_STRING
once function
default_rescue_name: HASHED_STRING
once function
default_create_name: HASHED_STRING
once function
flush_name: HASHED_STRING
once function
clear_all_name: HASHED_STRING
once function
from_pointer_name: HASHED_STRING
once function
no_errors: BOOLEAN
effective function
character_coding (c: CHARACTER, str: STRING)
effective procedure
Append in str the Eiffel coding of the character (Table in chapter 25 of ETL, page 423).%%%%%%%%
eiffel_suffix: STRING
is ".e"
constant attribute
Eiffel Source file suffix.
c_suffix: STRING
is ".c"
constant attribute
C files suffix.
h_suffix: STRING
is ".h"
constant attribute
Heading C files suffix.
c_plus_plus_suffix: STRING
is ".cpp"
constant attribute
C++ files suffix.
backup_suffix: STRING
is ".bak"
constant attribute
Backup suffix for command pretty.
class_suffix: STRING
is ".class"
constant attribute
dot_precedence: INTEGER_32
is 12
constant attribute
The highest precedence value according to ETL.
atomic_precedence: INTEGER_32
is 13
constant attribute
Used for atomic elements.
append_u1 (str: STRING, u1: INTEGER_32)
effective procedure
append_u2 (str: STRING, u2: INTEGER_32)
effective procedure
append_u4 (str: STRING, u4: INTEGER_32)
effective procedure
is_install: BOOLEAN
effective function
set_install
effective procedure
install_memory: REFERENCE[BOOLEAN]
once function
unrelated_code: INTEGER_8
is 0
constant attribute
inserts_code: INTEGER_8
is 1
constant attribute
inherits_code: INTEGER_8
is 2
constant attribute
once function
standard_check_export_and_obsolete_calls (type: TYPE, target_type: TYPE, af: ANONYMOUS_FEATURE)
frozen
effective procedure
Called by specialize_and_check when feature_stamp has been defined
set_target (t: EXPRESSION)
frozen
effective procedure
run_feature_for (type: TYPE): RUN_FEATURE
frozen
effective function
set_feature_stamp (fs: FEATURE_STAMP)
frozen
effective procedure
feature_stamp: FEATURE_STAMP
writable attribute
The good feature_stamp for the feature in some type (unrelated to like_what due to renamings).
target: EXPRESSION
writable attribute
Target of the call.
feature_name: FEATURE_NAME
writable attribute
Written selector name of the call.