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

  if (checkNamePrefix(pos)) content.push(getNamePrefix());

  content = content.concat(getIdentOrInterpolation());

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

  if (checkNamePrefix(pos)) content.push(getNamePrefix());

  content = content.concat(getIdentOrInterpolation());

  return newNode(type, content, line, column);
}
function getTypeSelector ( ) { const type = NodeType . TypeSelectorType ; const token = tokens [ pos ] ; const line = token . ln ; const column = token . col ; let content = [ ] ; if ( checkNamePrefix ( pos ) ) content . push ( getNamePrefix ( ) ) ; content = content . concat ( getIdentOrInterpolation ( ) ) ; return newNode ( type , content , line , column ) ; }
Get type selector node
@return {Node}
Get type selector node