HH\ExperimentalParserUtils\find_enum_body

namespace HH\ExperimentalParserUtils;

function find_enum_body(
  \HH\ParseTree $json,
  string $name,
): ?EnumBodyNode;

Parameters

  • \HH\ParseTree $json
  • string $name

Returns

  • ?EnumBodyNode