Changes between Version 12 and Version 13 of howto
- Timestamp:
- Aug 31, 2020, 10:54:21 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto
v12 v13 148 148 * {{{mods[name=mnesia_log].funs.exprs.sub[type=tuple,[.sub[index=1].origin[type=atom,value =backup_args]]]}}} -- list all functions which was called with a tuple as an argument containing backup_args atom as a first argument ({{{foo({backup_args, Sth1, Sth2}, Sth3)}}}) 149 149 150 * {{{mods[name=mnesia_log].funs[name=open_log].refs}}} 151 * {{{@expr.origin}}} 150 * {{{@expr.origin}}} -- list the posisble values of the pointed expression 152 151 153 * {{{ri:anal_dyn()}}} 154 * {{{mods.funs.dynrefs}}} 152 * {{{mods[name=mnesia_log].funs[name=open_log].refs[.param[index=1].origin[type=atom, value=decision_log]]}}} -- list the applications of the mnesia_log:open_log function where the value of the first parameter (the name of the table) can be decision_log 155 153 156 * {{{mods[name=mnesia].funs[name=write, arity=1].dynrefs}}} 157 * {{{@fun.dynrefs}}} 158 159 * {{{mods[name=mnesia_log].funs[name=open_log].refs[.param[index=1].origin[type=atom, value=decision_log]]}}} 160 161 * {{{mods[name=mnesia].funs[name=foldr].called_by}}} 154 * {{{mods[name=mnesia].funs[name=foldr].called_by}}} -- list the functions that calls mnesia:foldr 162 155 163 156 * {{{mods[name=mnesia].funs[name=foldr].called_by[mod /= mnesia]}}} -- list the calls to the foldr function from an other module than the defining mnesia … … 168 161 * {{{@expr.macro_value}}} -- show the expanded value of a macsro application 169 162 163 Once you run the {{{ri:anal_dyn()}}} command, the tool analyses the dynamic function calls as well. This allows the query language to list the dynamic references of the functions as well: 164 * {{{mods.funs.dynrefs}}} 165 166 * {{{mods[name=mnesia].funs[name=write, arity=1].dynrefs}}} -- list the apply or MFA calls that refers to the mnesia:write/1 function 167 * {{{@fun.dynrefs}}} -- list the dynamic refernces of the pointed function 170 168 171 169 == Checking design rules