gecko-dev/js/js2/java/JSIdentifier.java

25 строки
460 B
Java
Исходник Обычный вид История

1999-05-26 01:50:03 +04:00
class JSIdentifier extends JSString {
JSIdentifier(String s)
{
super(s);
}
String print(String indent)
{
return indent + "JSIdentifier : " + s + "\n";
}
void eval(Environment theEnv)
{
theEnv.theStack.push(this);
theEnv.scope.getProp(theEnv);
}
void evalLHS(Environment theEnv)
{
theEnv.theStack.push(this);
theEnv.theStack.push(theEnv.scope);
}
}