def METHOD_NAME(token: str, type_name: str):
    """Register a method for a dispatch token and type name.
    Parameters
    ----------
    token : str
        The token for IR, e.g., T for TIR and R for Relax.
    type_name : str
        The type name of AST node, e.g., FunctionDef, With, For.
    Returns
    -------
    func : callable
        The function to register dispatched method of parsing
        corresponding token and AST node type.
    """
    def func(method: ParseMethod):
        """Register a method in parser virtual table.
        Parameters
        ----------
        method : ParseMethod
            The dispatched method to be registered in parser virtual table.
        """
        ParseVTable[(token, type_name)] = method
    return func