*/
public static IExpression createExpression(Node node, ScriptOrFnNode root,
Scope scope) {
switch (node.getType()) {
case Token.THIS:
return new ThisExpression(node, root, scope);
case Token.NAME:
case Token.BINDNAME:
return new IdentifierExpression(node, root, scope);