code: function(parent, name, type) {
  			if (/^[0-9]+$/.test(name)) {
          return parent + "[" + name + "]";
        } else if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
  	    	return parent + "." + name;
  			}
  			else {
  				return parent + "['" + name + "']";
        }
      }
docs: PUBLIC API: You can override these methods in a subclass to provide alternative compiled forms for name lookup and buffering semantics