node_modules/gulp-sass/node_modules/node-sass/src/libsass/src/parser.cpp
// helper to parse a var token
helper to parse a var token
helper to parse a var token
Token Parser::lex_variable()
  {
    if (!peek< exactly <'$'> >()) {
      css_error("Invalid CSS", " after ", ": expected \"$\", was ");
    }
    if (!lex< sequence < exactly <'$'>, identifier > >()) {
      lex< exactly <'$'> >(); 
      css_error("Invalid CSS", " after ", ": expected identifier, was ");
    }
    return token;
  }
Token Parser :: lex_variable ( ) { if ( ! peek < exactly < ' ' > > ( ) ) { css_error ( " " , " " , " \" \" " ) ; } if ( ! lex < sequence < exactly < ' ' > , identifier > > ( ) ) { lex < exactly < ' ' > > ( ) ; css_error ( " " , " " , " " ) ; } return token ; }
helper to parse a var token
helper to parse a var token
// peek for dollar sign first // we expect a simple identfier as the call name // move pstate and position up // return object