dolby-oss
d93196166d
avoid some more polyglot assertion failures
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@760 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 17:22:20 +00:00
rmfuhrer
87b64d56a7
Removed polyglot-related libs from the classpath (no longer
...
necessary).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:34:53 +00:00
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
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
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
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
06c5431ba0
fixes to handling of enclosing objects for inner classes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 18:19:13 +00:00
sjfink
050388a5c1
squash remaining Eclipse warnings
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@698 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 15:33:10 +00:00
dolby-oss
cb78e91b91
adapt to polyglot changes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 00:26:52 +00:00
dolby-oss
c16f151f6e
launch configurations for download scripts
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@689 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 20:35:48 +00:00
sjfink
0cbace78e1
miscellaneous minor cleanups. eclipse build stuff. import statements.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@678 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:07:47 +00:00
sjfink
6bf64212bf
remove non-existant java_cup package
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@667 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 17:11:30 +00:00
sjfink
28534df44b
tweak to avoid 'realpath', which I can't find for cygwin
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@664 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 17:08:52 +00:00
dolby-oss
62bb2b43b1
add script to fetch libraries polyglot.jar and java_cup.jar
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@662 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 14:42:14 +00:00
dolby-oss
55e7a45e53
first cut at handling inner classes properly; moving around of code for analysis engines to make them provide a default way to build a call graph
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@657 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:51:19 +00:00
dolby-oss
c4b9499bd2
Initial contribution of core script analysis code
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@618 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:20:09 +00:00