src/sass/parse.js
function getClass() {
  const type = NodeType.ClassType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  const end = token.classEnd;
  let content = [];

  // Skip `.`
  pos++;

  while (pos < end) {
    if (checkIdentOrInterpolation(pos)) {
      content = content.concat(getIdentOrInterpolation());
    } else break;
  }

  return newNode(type, content, line, column);
}
function getClass() {
  const type = NodeType.ClassType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  const end = token.classEnd;
  let content = [];

  // Skip `.`
  pos++;

  while (pos < end) {
    if (checkIdentOrInterpolation(pos)) {
      content = content.concat(getIdentOrInterpolation());
    } else break;
  }

  return newNode(type, content, line, column);
}
function getClass ( ) { const type = NodeType . ClassType ; const token = tokens [ pos ] ; const line = token . ln ; const column = token . col ; const end = token . classEnd ; let content = [ ] ; // Skip `.` pos ++ ; while ( pos < end ) { if ( checkIdentOrInterpolation ( pos ) ) { content = content . concat ( getIdentOrInterpolation ( ) ) ; } else break ; } return newNode ( type , content , line , column ) ; }
Gets node with a class selector.

@return {!Node}
Gets node with a class selector .