% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make.R
\name{.extract_constructor_and_modifiers}
\alias{.extract_constructor_and_modifiers}
\title{Takes an argument list and extracts the constructor specification and
constructor modifiers from it.}
\usage{
.extract_constructor_and_modifiers(..., .operation, .variant)
}
\arguments{
\item{...}{Parameters to extract from}

\item{.operation}{Human-readable description of the operation that this
helper is a part of}

\item{.variant}{Constructor variant; must be one of \sQuote{make},
\sQuote{graph} or \sQuote{sample}. Used in cases when the same constructor
specification has deterministic and random variants.}
}
\value{
A named list with three items: \sQuote{cons} for the constructor
function, \sQuote{mods} for the modifiers and \sQuote{args} for the
remaining, unparsed arguments.
}
\description{
This is a helper function for the common parts of \code{make_} and
\code{sample_}.
}
