Changes between Version 35 and Version 36 of ErlangShellInterface


Ignore:
Timestamp:
May 9, 2013, 4:08:13 PM (11 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ErlangShellInterface

    v35 v36  
    316316}}} 
    317317 
    318 You can specify entities either with graph nodes (such as {{{{'$gn', func, 123}}}}) or with their identifier. Modules can be specified with their names as atoms (e.g. 'mnesia'), while functions are specified by their MFA descriptor as a string (e.g. "io:format/2") 
     318You can specify entities either with their identifier or with graph nodes (such as {{{{'$gn', func, 123}}}}). Modules can be specified with their names as atoms (e.g. 'mnesia'), while functions are specified by their MFA descriptor as a string (e.g. "io:format/2") 
    319319 
    320320==== Examples for listing results ==== 
     
    356356* Checking for cycles in module level from a given node 
    357357{{{#!erlang 
    358 ri:print_dep([{level, mod}, {gnode, {'$gn', module, 24}}]).  
     358 ri:print_dep([{level, mod}, {gnode, [f1]}]).  
    359359}}} 
    360360{{{#!erlang 
     
    367367{{{#!erlang 
    368368ri:print_dep([{level, func}, {gnode, ["cycle4:f5/1"]}]). 
     369}}} 
     370 
     371* Checking the dependencies in module level of a node given with its identifier 
     372{{{#!erlang 
     373ri:print_dep([{level, mod}, {type, dep}, {gnode, [f1]}]). 
     374}}} 
     375{{{#!erlang 
     376  [{"f1",["f3","f2"]}] 
    369377}}} 
    370378