int 
trace_cmd_parse_slice(
  const char* s, 
  int* trace, 
  int* from, 
  int* to 
)
Private service of top level trace execution functions


hash_ptr 
trace_eval_make_environment(
  Trace_ptr  trace, 
  TraceIter  step 
)
This function builds a local environment for constant expressions evaluation

Side Effects none


node_ptr 
trace_make_failure(
  const char* tmpl, 
  node_ptr  symbol 
)
Private service of trace_evaluate_expr_recur

See Also Private service of trace_evaluate_expr_recur

void 
trace_step_evaluate_defines(
  Trace_ptr  trace, 
  const TraceIter  step 
)
Evaluates define for a trace, based on assignments to state, frozen and input variables. If a previous value exists for a define, The mismatch is reported to the caller by appending a failure node describing the error to the "failures" list. If "failures" is NULL failures are silently discarded. If no previous value exists for a given define, assigns the define to the calculated value according to vars assignments. The "failures" list must be either NULL or a valid, empty list. 0 is returned if no mismatching were detected, 1 otherwise

Side Effects The trace is filled with defines, failures list is populated as necessary.


Last updated on 2011/04/06 21h:16