| 226 | | where Filter is one of the following:[[BR]] |
| 227 | | all: default, all edges except environmental ones are shown |
| 228 | | syn: only syntactic edges are shown |
| 229 | | sem: only semantic edges are shown |
| 230 | | lex: only lexical edges are shown |
| 231 | | all_env: all edges are shown, no ltering |
| 232 | | ctx: context related edges are shown |
| 233 | | not_lex: all edges except lexical ones are shown |
| 234 | | dataflow: dataflow related edges are shown |
| 235 | | a list of the above: shows the union of the designated subgraphs |
| | 226 | where Filter is one of the following:\\ |
| | 227 | * '''all''': default, all edges except environmental ones are shown.\\ |
| | 228 | * '''syn''': only syntactic edges are shown.\\ |
| | 229 | * '''sem''': only semantic edges are shown.\\ |
| | 230 | * '''lex''': only lexical edges are shown.\\ |
| | 231 | * '''all_env''': all edges are shown, no filtering.\\ |
| | 232 | * '''ctx''': context related edges are shown.\\ |
| | 233 | * '''not_lex''': all edges except lexical ones are shown.\\ |
| | 234 | * '''dataflow''': dataflow related edges are shown.\\ |
| | 235 | * '''a list of the above''': shows the union of the designated subgraphs.\\ |
| 267 | | argument. The following arguments are currently recognized: |
| 268 | | {out,FileName} - write the textual output of a query to a file |
| 269 | | linenum - prepends match sites with le and line number information |
| 270 | | similar to grep -n. |
| 271 | | The following example outputs all dened functions with line numbers to a |
| | 267 | argument. The following arguments are currently recognized:\\ |
| | 268 | * '''{out,!FileName}''': write the textual output of a query to a file.\\ |
| | 269 | * '''linenum''': prepends match sites with le and line number information.\\ |
| | 270 | similar to '''grep -n'''. |
| | 271 | The following example outputs all defined functions with line numbers to a |
| | 277 | |
| | 278 | |
| | 279 | == Server management command list == |
| | 280 | |
| | 281 | Here's the list of supported server management commands:\\ |
| | 282 | * '''add(FDML)''': add a module, file, directory or a list of these to the database. \\ |
| | 283 | * '''drop(FDML)''': drop a module from the database. \\ |
| | 284 | * '''ls()''': list files that are in the database. \\ |
| | 285 | * '''backup()''': update the backup (checkpoint). \\ |
| | 286 | * '''undo()''': undo the transformation (rollback, only one step). \\ |
| | 287 | * '''clean()''': clean backups (delete all checkpoints). \\ |
| | 288 | * '''reset()''': reset the database to an empty state, but valid schema. \\ |
| | 289 | * '''graph(Target)''': assume no options and call one of the next two. \\ |
| | 290 | * '''graph(Atom,Options)''': assume ".dot" extension and call the one below. \\ |
| | 291 | * '''graph(File,Options)''': draw the graph with the given options. \\ |
| | 292 | * '''svg()''': draw the graph to graph.svg and call Graphviz. \\ |
| | 293 | * '''svg(File)''' \\ |
| | 294 | * '''svg(File, Options)''' \\ |
| | 295 | The additional/modied commands, that you can use, if you use the NIF |
| | 296 | database engine:\\ |
| | 297 | * '''backup()''': creates a backup. \\ |
| | 298 | * '''backup(!CommitLog)''': creates a backup as '''ri:backup/0''', but here the user can attach a commit log to the backup file. \\ |
| | 299 | * '''ls_backups()''': returns a lists of backups, that has been created before with '''ri:backup/0''' or '''ri:backup/1'''. \\ |
| | 300 | * '''backup_info(Backup)''': returns information about the given backup. \\ |
| | 301 | * '''restore(Backup)''': restores the given backup. \\ |
| | 302 | * '''create_graph(Name)''': creates a graph with the given name. \\ |
| | 303 | * '''rename_graph(!OldName, !NewName)''': renames a graph that has the given !OldName, with the given !NewName. \\ |
| | 304 | * '''ls_graphs()''': returns a list of the created graphs. \\ |
| | 305 | * '''actual_graph()''': returns the actual graph's name. \\ |
| | 306 | * '''load_graph(Name)''': loads the given graph. \\ |
| | 307 | * '''delete_graph(Name)''': removes the given graph. \\ |
| | 308 | * '''delete_all_graphs()''': removes all graphs. \\ |