New.
git-svn-id: svn://10.0.0.236/trunk@32627 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
25
mozilla/js/js2/java/JSIdentifier.java
Normal file
25
mozilla/js/js2/java/JSIdentifier.java
Normal file
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user