JSCFunctionListEntry.defObject constructor

JSCFunctionListEntry.defObject(
  1. JSContext ctx,
  2. String name,
  3. JSCFunctionListEntry tab,
  4. int len,
  5. JSProp propFlags, {
  6. bool autoDispose = true,
})

Implementation

factory JSCFunctionListEntry.defObject(
  JSContext ctx,
  String name,
  JSCFunctionListEntry tab,
  int len,
  JSProp propFlags, {
  bool autoDispose = true,
}) {
  return JSCFunctionListEntry._(
    ctx,
    name: name,
    propFlags: propFlags,
    defType: JSDef.OBJECT,
    magic: 0,
    union: JSCFuntionListEntryUnion(
      proplist: JSCFunctionListEntryProplist(len, tab),
    ),
    autoDispose: autoDispose,
  );
}