Changes between Version 2 and Version 3 of SemanticQuery/Examples
- Timestamp:
- Apr 11, 2012, 1:21:46 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SemanticQuery/Examples
v2 v3 18 18 }}} 19 19 20 Returns all functions which have a variable named "Expl" . It useful when we want to know which functions use variables with same name:20 Returns all functions which have a variable named "Expl" (it is useful when we want to know which functions use variables with same name): 21 21 {{{ 22 22 @file.funs.vars[name=="Expl"] … … 29 29 }}} 30 30 31 For example we stand in a variable, and run this query, we get information about the variable gets its value from where. This functionality uses [wiki:DataFlow data-flow analysis].31 If the current expression is a variable, with running this query, we can find, where the variable gets its value from. This functionality uses [wiki:DataFlow data-flow analysis]. 32 32 {{{ 33 33 @expr.origin