src/sass/parse.js
function checkArgument(i) {
  let l;

  if (l = checkBrackets(i)) tokens[i].argument_child = 1;
  else if (l = checkParentheses(i)) tokens[i].argument_child = 2;
  else if (l = checkSingleValueDeclaration(i)) tokens[i].argument_child = 3;
  else if (l = checkFunctionsList(i)) tokens[i].argument_child = 4;
  else if (l = checkFunction(i)) tokens[i].argument_child = 5;
  else if (l = checkVariablesList(i)) tokens[i].argument_child = 6;
  else if (l = checkVariable(i)) tokens[i].argument_child = 7;
  else if (l = checkSC(i)) tokens[i].argument_child = 8;
  else if (l = checkDelim(i)) tokens[i].argument_child = 9;
  else if (l = checkDeclDelim(i)) tokens[i].argument_child = 10;
  else if (l = checkString(i)) tokens[i].argument_child = 11;
  else if (l = checkPercentage(i)) tokens[i].argument_child = 12;
  else if (l = checkDimension(i)) tokens[i].argument_child = 13;
  else if (l = checkNumber(i)) tokens[i].argument_child = 14;
  else if (l = checkUri(i)) tokens[i].argument_child = 15;
  else if (l = checkInterpolation(i)) tokens[i].argument_child = 16;
  else if (l = checkIdent(i)) tokens[i].argument_child = 17;
  else if (l = checkVhash(i)) tokens[i].argument_child = 18;
  else if (l = checkCustomProperty(i)) tokens[i].argument_child = 19;
  else if (l = checkOperator(i)) tokens[i].argument_child = 20;
  else if (l = checkUnary(i)) tokens[i].argument_child = 21;
  else if (l = checkParentSelector(i)) tokens[i].argument_child = 22;
  else if (l = checkImportant(i)) tokens[i].argument_child = 23;
  else if (l = checkGlobal(i)) tokens[i].argument_child = 24;
  else if (l = checkDefault(i)) tokens[i].argument_child = 25;
  else if (l = checkOptional(i)) tokens[i].argument_child = 26;

  return l;
}
function checkArgument(i) {
  let l;

  if (l = checkBrackets(i)) tokens[i].argument_child = 1;
  else if (l = checkParentheses(i)) tokens[i].argument_child = 2;
  else if (l = checkSingleValueDeclaration(i)) tokens[i].argument_child = 3;
  else if (l = checkFunctionsList(i)) tokens[i].argument_child = 4;
  else if (l = checkFunction(i)) tokens[i].argument_child = 5;
  else if (l = checkVariablesList(i)) tokens[i].argument_child = 6;
  else if (l = checkVariable(i)) tokens[i].argument_child = 7;
  else if (l = checkSC(i)) tokens[i].argument_child = 8;
  else if (l = checkDelim(i)) tokens[i].argument_child = 9;
  else if (l = checkDeclDelim(i)) tokens[i].argument_child = 10;
  else if (l = checkString(i)) tokens[i].argument_child = 11;
  else if (l = checkPercentage(i)) tokens[i].argument_child = 12;
  else if (l = checkDimension(i)) tokens[i].argument_child = 13;
  else if (l = checkNumber(i)) tokens[i].argument_child = 14;
  else if (l = checkUri(i)) tokens[i].argument_child = 15;
  else if (l = checkInterpolation(i)) tokens[i].argument_child = 16;
  else if (l = checkIdent(i)) tokens[i].argument_child = 17;
  else if (l = checkVhash(i)) tokens[i].argument_child = 18;
  else if (l = checkCustomProperty(i)) tokens[i].argument_child = 19;
  else if (l = checkOperator(i)) tokens[i].argument_child = 20;
  else if (l = checkUnary(i)) tokens[i].argument_child = 21;
  else if (l = checkParentSelector(i)) tokens[i].argument_child = 22;
  else if (l = checkImportant(i)) tokens[i].argument_child = 23;
  else if (l = checkGlobal(i)) tokens[i].argument_child = 24;
  else if (l = checkDefault(i)) tokens[i].argument_child = 25;
  else if (l = checkOptional(i)) tokens[i].argument_child = 26;

  return l;
}
function checkArgument ( i ) { let l ; if ( l = checkBrackets ( i ) ) tokens [ i ] . argument_child = 1 ; else if ( l = checkParentheses ( i ) ) tokens [ i ] . argument_child = 2 ; else if ( l = checkSingleValueDeclaration ( i ) ) tokens [ i ] . argument_child = 3 ; else if ( l = checkFunctionsList ( i ) ) tokens [ i ] . argument_child = 4 ; else if ( l = checkFunction ( i ) ) tokens [ i ] . argument_child = 5 ; else if ( l = checkVariablesList ( i ) ) tokens [ i ] . argument_child = 6 ; else if ( l = checkVariable ( i ) ) tokens [ i ] . argument_child = 7 ; else if ( l = checkSC ( i ) ) tokens [ i ] . argument_child = 8 ; else if ( l = checkDelim ( i ) ) tokens [ i ] . argument_child = 9 ; else if ( l = checkDeclDelim ( i ) ) tokens [ i ] . argument_child = 10 ; else if ( l = checkString ( i ) ) tokens [ i ] . argument_child = 11 ; else if ( l = checkPercentage ( i ) ) tokens [ i ] . argument_child = 12 ; else if ( l = checkDimension ( i ) ) tokens [ i ] . argument_child = 13 ; else if ( l = checkNumber ( i ) ) tokens [ i ] . argument_child = 14 ; else if ( l = checkUri ( i ) ) tokens [ i ] . argument_child = 15 ; else if ( l = checkInterpolation ( i ) ) tokens [ i ] . argument_child = 16 ; else if ( l = checkIdent ( i ) ) tokens [ i ] . argument_child = 17 ; else if ( l = checkVhash ( i ) ) tokens [ i ] . argument_child = 18 ; else if ( l = checkCustomProperty ( i ) ) tokens [ i ] . argument_child = 19 ; else if ( l = checkOperator ( i ) ) tokens [ i ] . argument_child = 20 ; else if ( l = checkUnary ( i ) ) tokens [ i ] . argument_child = 21 ; else if ( l = checkParentSelector ( i ) ) tokens [ i ] . argument_child = 22 ; else if ( l = checkImportant ( i ) ) tokens [ i ] . argument_child = 23 ; else if ( l = checkGlobal ( i ) ) tokens [ i ] . argument_child = 24 ; else if ( l = checkDefault ( i ) ) tokens [ i ] . argument_child = 25 ; else if ( l = checkOptional ( i ) ) tokens [ i ] . argument_child = 26 ; return l ; }
Checks if token is valid to be part of arguments list
@param {number} i Token's index number
@return {number} Length of argument
Checks if token is valid to be part of arguments list