
scm.Symbol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jasmin Show documentation
Show all versions of jasmin Show documentation
Java Assembler Interface for the Soot framework
package scm;
import java.util.*;
class Symbol implements Obj
{
static Hashtable internset = new Hashtable();
String name;
Symbol(String s) { name = s; }
static Symbol intern(String s)
{
Symbol ret;
if ((ret = (Symbol)internset.get(s)) == null)
{ ret = new Symbol(s); internset.put(s, ret); }
return ret;
}
public Obj eval(Env e)
{ return e.lookup(this); }
public String toString()
{
return(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy