Monolithic identifiers are easy to search for (grep). However, for a large project, identifiers get organized hierarchically with scopes, for example an identifier foo.bar.baz , i.e., "baz" in the "foo.bar" scope. However, looking for where foo.bar.baz gets used or referenced becomes much trickier:
scope foo { ... scope bar { ... baz ... }}
{ import foo.bar; ... baz ... }
{ import foo.bar as quux; ... quux.baz ... }
{ prefix="foo.bar" ; ... identifier=prefix + ".baz"; }
No comments :
Post a Comment