src/sass/parse.js
function getVariablesList() {
  const type = NodeType.VariablesListType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  const content = [getVariable()];
  const end = getLastPosition(content, line, column, 3);

  // Skip `...`.
  pos += 3;

  return newNode(type, content, line, column, end);
}
function getVariablesList() {
  const type = NodeType.VariablesListType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  const content = [getVariable()];
  const end = getLastPosition(content, line, column, 3);

  // Skip `...`.
  pos += 3;

  return newNode(type, content, line, column, end);
}
function getVariablesList ( ) { const type = NodeType . VariablesListType ; const token = tokens [ pos ] ; const line = token . ln ; const column = token . col ; const content = [ getVariable ( ) ] ; const end = getLastPosition ( content , line , column , 3 ) ; // Skip `...`. pos += 3 ; return newNode ( type , content , line , column , end ) ; }
Get node with a variables list
@return {Array} `['variableslist', ['variable', ['ident', x]]]` where
`x` is a variable name.
Get node with a variables list