Microsoft.JScript.BlockScope.CreateField C# (CSharp) Method

CreateField() protected method

protected CreateField ( String name, FieldAttributes attributeFlags, Object value ) : JSVariableField
name String
attributeFlags FieldAttributes
value Object
return JSVariableField
      protected override JSVariableField CreateField(String name, FieldAttributes attributeFlags, Object value){
        if (!(this.parent is ActivationObject))
          return base.CreateField(name, attributeFlags, value);
        JSVariableField field = ((ActivationObject)this.parent).AddNewField(name+":"+this.scopeId, value, attributeFlags);
        field.debuggerName = name;
        return field;
      }