Commit Graph

5665 Commits

Author SHA1 Message Date
rmfuhrer 2af4e3b189 Made getTranslatorExtension() public so clients can see it and
get at the IdentityMapper.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@756 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:05 +00:00
rmfuhrer 275f9ab4c8 Collected various bits of code from PolyglotJava2CAstTranslator
that map Polyglot AST entities for types, methods, and fields
to the names of their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@755 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:31:46 +00:00
rmfuhrer 87d5abe577 Many changes to use the new PolyglotIdentityMapper to map
Polyglot AST entities for types, methods and fields to the
names of their WALA counterparts, in lieu of many redundant
bits of code strewn through this class.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@754 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:29:47 +00:00
rmfuhrer 9ab81816b6 Now maintains a PolyglotIdentityMapper to centralize the
mapping of Polyglot AST entities (types, fields, methods) to
their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@753 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:28:02 +00:00
rmfuhrer 7c8d738737 Added accessor method for the PolyglotIdentityMapper associated
with the translator.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@752 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:26:37 +00:00
rmfuhrer 678c795b80 Minor improvement to error message on unhandled node type.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@751 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:25:29 +00:00
rmfuhrer d2b7dfd95d createPass() now needs to pass a PolyglotIdentityMapper to
create a PolyglotJava2CAstTranslator. Accommodate promotion
of CAst from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@750 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:24:50 +00:00
rmfuhrer 63064373c8 Changed range of fTypeMap to be IClass rather than JavaClass
(a) since that's all that was needed, and (b) so that derived
languages can store their IClass implementations there (e.g.
X10's X10AsyncObject).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:23:13 +00:00
rmfuhrer 5679b67ed3 Abstracted predicate to determine whether a class has a
lexically enclosing scope into isPossiblyLexicalClass() so that, e.g., X10AsyncObject can
be marked as such.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@748 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:20:33 +00:00
rmfuhrer bcce58c4ed A little more use of generics.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@747 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:16:23 +00:00
rmfuhrer b5d07d2443 Changed ref in bundle name: DOMO -> WALA.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 15:05:14 +00:00
rmfuhrer f0050ef3f3 Changed plugin ID to match project name (for happiness in
Eclipse). Re-added polyglot to plugin dependencies and
removed polyglot packages from the exports list. Changed
bundle name from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@745 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 15:00:12 +00:00
mkogane 1770c6de72 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@744 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:55:49 +00:00
mkogane 35edd3384b fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@743 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:55:15 +00:00
mkogane f6e29880a5 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@742 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:54:12 +00:00
mkogane 09ffdcd5e9 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@741 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:53:16 +00:00
mkogane 61ca366856 fix Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@740 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:16:07 +00:00
mkogane 6d2bcbc92b fix id and import plugin in plugin.xml
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@739 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:14:45 +00:00
mkogane cee44da525 fix id in plugin.xml
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@738 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:13:26 +00:00
mkogane a529f33798 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@737 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:12:18 +00:00
mkogane af9c7715f5 fix Bundle-SymbolicName in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@736 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:11:35 +00:00
mkogane 6ce16b1d24 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@735 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:09:22 +00:00
mkogane ad5ea6f037 fix Bundle-SymbolicName in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@734 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:07:55 +00:00
dolby-oss 8c0f9991eb some minimal javadoc comments for new instruction classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@733 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 03:13:46 +00:00
dolby-oss 9e79e45c93 some minimal javadoc comments for new instruction classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@732 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 03:07:33 +00:00
sjfink 5048151403 small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@731 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:22 +00:00
sjfink 52c518e4fa small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@730 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:15 +00:00
sjfink 2affbe8215 small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@729 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:06 +00:00
sjfink 9e6751583c patch from Manu to allow navigation from call site to source
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@728 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:53:57 +00:00
sjfink 2d2d993118 some dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@727 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:51:17 +00:00
sjfink 96e1f1e00b minor dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@726 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:41:32 +00:00
sjfink 5216996b8b small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@725 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:39:29 +00:00
sjfink 42b535701c small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@724 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:39:16 +00:00
sjfink 5b3c84fbbd small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@723 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:38:48 +00:00
sjfink 758cc29257 small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@722 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:38:22 +00:00
sjfink 0f9ad70584 small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@721 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:38:08 +00:00
sjfink 9e0b8b17f6 small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@720 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:37:53 +00:00
sjfink 6ccbfcdf06 formatting and javadoc
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@719 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 21:17:10 +00:00
sjfink e87a0d4a19 formatting and javadoc
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@718 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 21:16:57 +00:00
dolby-oss 7512ba095d Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@717 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:06:38 +00:00
dolby-oss 43215ce738 Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@716 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:04:43 +00:00
dolby-oss 645a64f5a9 Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@715 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:04:38 +00:00
dolby-oss 680e3775ea Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@714 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:03:34 +00:00
dolby-oss cbb2a6e364 Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@713 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:03:27 +00:00
dolby-oss 1adc37f820 Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@712 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:03:23 +00:00
dolby-oss 25ba56ec72 Added example driver for string analysis and launchers for related junit tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@711 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 19:03:16 +00:00
dolby-oss 74ac952239 add simple example of string analysis use
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@710 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 18:32:16 +00:00
dolby-oss e45b910c12 further analysis engine surgery, motivated by string analysis example
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@709 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 18:31:36 +00:00
dolby-oss 5cf7b7d659 silence tracing message
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@708 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 18:30:52 +00:00
dolby-oss 4668eb57d2 further analysis engine surgery, motivated by string analysis example
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@707 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 18:30:10 +00:00