Method code for $compiler.do_obj()

[Turn off line numbering]
  1: arg vars, flags, args;
  2: 
  3: if (!dict_contains(flags, "context"))
  4:     throw(~parse, "no context flag for {obj}");
  5: if (!dict_contains(flags, "object"))
  6:     throw(~parse, "no object flag for {obj}");
  7: if (listlen(args) == 0)
  8:     throw(~parse, "{obj} requires an arg of the name");
  9: flags = flags.replace("context", tosym(flags["context"]));
 10: return [$format.new_tag("obj", flags, args), vars];

// Created 17-Jul-1996 as a part of ColdCore, see: @help Credit

Tlon