code: def expand(self, name=None, target=None, **kwargs):
      
      if name is None:
        raise TargetDefinitionException('{}:?'.format(self._parse_context.rel_path, name),
                                        'The alias() must have a name!')
      if target is None:
        raise TargetDefinitionException('{}:{}'.format(self._parse_context.rel_path, name),
                                        'The alias() must have a "target" parameter.')
      self._parse_context.create_object(
        AliasTarget,
        type_alias='alias',
        name=name,
        dependencies=[target] if target else [],
        **kwargs
      )
docs: :param string name: The name for this alias.
      :param string target: The address of the destination target.