code: def test_primitive(value: str, expected: Any) -> None:
      ret = parse_rule(value, "primitive")
      assert eq(ret, expected)
  
imports: import builtins
  import math
  import re
  from dataclasses import dataclass
  from typing import Any, Callable, Dict, List, Union
  from _pytest.python_api import RaisesContext
  from pytest import mark, param, raises, warns
  from hydra import version
  from hydra._internal.grammar.functions import Functions
  from hydra._internal.grammar.utils import escape_special_characters
  from hydra.core.override_parser.overrides_parser import OverridesParser, create_functions
  from hydra.core.override_parser.types import ChoiceSweep, FloatRange, Glob, IntervalSweep, Key, Override, OverrideType, Quote, QuotedString, RangeSweep, Sweep, Transformer, ValueType
  from hydra.errors import HydraException
label_desc: Use image node_id 16 for calling a global function with example usage: test_primitive(value, expected) without return types