renamed Sed::getOption() and Sed::setOption() to Sed::getTrait() and Sed::getTrait() respectively

added qse_sed_opt_t, qse_sed_trait_t
renamed qse_sed_exec_op_t to qse_sed_tracer_op_t
renamed qse_sed_exec_tracer_t to qse_sed_tracer_t
added qse_sed_getopt() and qse_sed_setopt()
deleted qse_sed_setlformatter(), qse_sed_getlformatter(), qse_sed_setexectracer(), qse_sed_getexectracer(), qse_sed_setmaxdepth(), qse_sed_getmaxdepth()
This commit is contained in:
2013-01-13 13:15:03 +00:00
parent 92e4134b7d
commit be6beb61dc
12 changed files with 199 additions and 216 deletions

View File

@ -66,8 +66,10 @@ Accessing Pattern and Hold Space
The qse_sed_getspace() allows to you get the pointer and the length
of the pattern space and the hold space. It may not be so useful you
access them after execution is completed. The qse_sed_setexectracer()
function lets you set up a hook function during execution time.
access them after execution is completed. The qse_sed_setopt()
function called with #QSE_SED_TRACER lets you set up a hook function
that can inspect various things during execution time.
The following sample prints the contents of the pattern space and
hold space at each phase of execution.