def _add_arguments(self, node: mparser.FunctionNode, argsdict: T.Dict[(str, T.List[str])], args_frozen: bool, args: T.List[str], kwargs: 'kwargs.FuncAddProjectArgs') -> None:
    if args_frozen:
        msg = f'''Tried to use '{node.func_name}' after a build target has been declared.
This is not permitted. Please declare all arguments before your targets.'''
        raise InvalidCode(msg)
    self._warn_about_builtin_args(args)
    for lang in kwargs['language']:
        argsdict[lang] = (argsdict.get(lang, []) + args)
def _add_arguments(self, node: mparser.FunctionNode, argsdict: T.Dict[(str, T.List[str])], args_frozen: bool, args: T.List[str], kwargs: 'kwargs.FuncAddProjectArgs') -> None:
    if args_frozen:
        msg = f'Tried to use '{node.func_name}' after a build target has been declared.
This is not permitted. Please declare all arguments before your targets.'
        raise InvalidCode(msg)
    self._warn_about_builtin_args(args)
    for lang in kwargs['language']:
        argsdict[lang] = (argsdict.get(lang, []) + args)