def ParseBlockDirective(name, rest):
  if name in docline.BLOCK_DIRECTIVES:
    try:
      return docline.BLOCK_DIRECTIVES[name](rest)
    except __HOLE__:
      raise error.InvalidBlockArgs(rest)
  raise error.UnrecognizedBlockDirective(name)
dataset/ETHPy150Open google/vimdoc/vimdoc/parser.py/ParseBlockDirective