Previous: Query Handling Predicates, Up: ref-msg [Contents][Index]
ask_query(+QueryClass, +Query, +Help, -Answer) hookablePrints the question Query, then reads and processes user input according to QueryClass, and returns the result of the processing, the abstract answer term Answer. The Help message is printed in case of invalid input.
user:message_hook(+M,+S,+L) hookintercept the printing of a message
'SU_messages':generate_message(+M,?SO,?S) hookdetermines the mapping from a message term into a sequence of lines of text to be printed
user:generate_message_hook(+M,?S0,?S) hookintercept message before it is given to
'SU_messages':generate_message/3
goal_source_info(+AGoal, -Goal, -SourceInfo)Decomposes the annotated goal AGoal into a Goal proper and the SourceInfo descriptor term, indicating the source position of the goal.
user:portray_message(+Severity,+Message) hookTells print_message/2 what to do.
print_message(+S,+M) hookableprint a message M of severity S
print_message_lines(+S,+P,+L)print the message lines L to stream S with prefix P
'SU_messages':query_abbreviation(+T,-P) hookspecifies one letter abbreviations for responses to queries from the Prolog system
user:query_hook(+QueryClass, +Query, +QueryLines, +Help, +HelpLines, -Answer) hookCalled by ask_query/4 before processing the query. If this
predicate succeeds, then it is assumed that the query has been
processed and nothing further is done.
'SU_messages':query_class(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode) hookAccess the parameters of a given QueryClass.
user:query_class_hook(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode) hookProvides the user with a method of overriding the call to
'SU_messages':query_class/5 in the preparation phase of query
processing. This way the default query class characteristics can be
changed.
'SU_messages':query_input(+InputMethod, +Prompt, -RawInput) hookImplements the input phase of query processing.
user:query_input_hook(+InputMethod, +Prompt, -RawInput) hookProvides the user with a method of overriding the call to
'SU_messages':query_input/3 in the input phase of query
processing. This way the implementation of the default input methods
can be changed.
'SU_messages':query_map(+MapMethod, +RawInput, -Result, -Answer) hookImplements the mapping phase of query processing.
user:query_map_hook(+MapMethod, +RawInput, -Result, -Answer) hookProvides the user with a method of overriding the call to
'SU_messages':query_map/4 in the mapping phase of query
processing. This way the implementation of the default map methods
can be changed.