Changes between Version 5 and Version 6 of ScriptableInterface


Ignore:
Timestamp:
Apr 19, 2012, 10:22:50 PM (13 years ago)
Author:
manualwiki
Comment:

expanded in ScriptableInterface

Legend:

Unmodified
Added
Removed
Modified
  • ScriptableInterface

    v5 v6  
    3939 
    4040 
    41 '''eliminate/1''' 
     41* '''eliminate/1''': Eliminates the given variable(s). ([[RefactoringSteps/EliminateVariable|eliminate variable]]). \\ 
    4242 
    43 Eliminates the given variable(s). ([[RefactoringSteps/EliminateVariable|eliminate variable]]). 
     43* '''extfun/2, extract/2''': This is the [[RefactoringSteps/ExtractFunction|extract function]] transformation. \\ 
    4444 
     45* '''inline/1''': Inlines the given function(s), or macro(s). ([[RefactoringSteps/InlineFunction|inline function]], [[RefactoringSteps/InlineMacro|inline macro]]). \\ 
    4546 
    46 '''extfun/2, extract/2''' 
     47* '''move/2''': Moves the given [[RefactoringSteps/MoveFunction|function]], [[RefactoringSteps/MoveMacro|macro]], or [[RefactoringSteps/MoveRecord|record]] into another module. 
    4748 
    48 This is the [[RefactoringSteps/ExtractFunction|extract function]] transformation. 
    49  
    50  
    51 '''inline/1''' 
    52  
    53 Inlines the given function(s), or macro(s). ([[RefactoringSteps/InlineFunction|inline function]], [[RefactoringSteps/InlineMacro|inline macro]]). 
    54  
    55  
    56 '''move/2''' 
    57  
    58 Moves the given [[RefactoringSteps/MoveFunction|function]], [[RefactoringSteps/MoveMacro|macro]], or [[RefactoringSteps/MoveRecord|record]] to another module. 
    59  
    60 Example: 
    6149{{{ 
    6250#!erlang 
     
    6755             "other_mod"), 
    6856    "mymod"). 
    69 }}} 
     57}}}  
    7058 
    7159 
    72 '''rename/2''' 
     60* '''rename/2''': Renames [[RefactoringSteps/RenameVariable|variable]], [[RefactoringSteps/RenameFunction|function]], [[RefactoringSteps/RenameRecord|record]], [[RefactoringSteps/RenameRecordField|record field]], [[RefactoringSteps/RenameMacro|macro]], [[RefactoringSteps/RenameHeader|header file]] or [[RefactoringSteps/RenameModule|module file]].  
    7361 
    74 Renames [[RefactoringSteps/RenameVariable|variable]], [[RefactoringSteps/RenameFunction|function]], [[RefactoringSteps/RenameRecord|record]], [[RefactoringSteps/RenameRecordField|record field]], [[RefactoringSteps/RenameMacro|macro]], [[RefactoringSteps/RenameHeader|header file]] or [[RefactoringSteps/RenameModule|module file]].  
    75  
    76 Example: 
    7762{{{ 
    7863#!erlang 
    7964ris:rename("mods[name=='mymod'].fun[name=='Colour']", "Color"). 
    8065}}} 
    81  
    82  
    83  
    84  
    8566 
    8667{{{#!comment 
     
    140121* '''intersect''': The following example takes the intersection of the files included by the two modules. 
    141122 
    142 Example: 
    143123{{{ 
    144124ris:q({"mods[name==mod1].includes", intersect, 
     
    147127 
    148128* '''union''': The union set operation. (Example: same as above, just substitute 'intersect' with 'union') \\ 
     129 
    149130* '''minus''': The substraction set operation. (Example: same as above, just substitute 'intersect' with 'minus') \\ 
     131 
    150132* '''Sequence''': Queries can be sequenced to continue a query from where another has left off. This example first adds the module from file 'mymodule.erl'. The add call returns the entities loaded. A semantic query aggregate of a list works by executing the first query (or in this case, specifying a starting entity), and then running the next query in the chain (in this case getting the name of files included by the add call). 
    151133 
    152 Example: 
    153134{{{ 
    154135#!erlang