apply method

Apply apply ()

Search for something like:

@apply(--mixin-name);

No standard less implementation Pass-throught to css to let polymer work

Implementation

Apply apply() {
  final int index = parserInput.i;
  String name;

  if (parserInput.$re(_applyRegExp1) != null) {
    parserInput.save();
    if (parserInput.$char('(') != null) {
      name = parserInput.$re(_applyRegExp2);
      if (name == null) {
        parserInput.restore('Bad argument');
        return null;
      }
      if (parserInput.$char(')') != null) {
        parserInput.forget();
        return Apply(Anonymous(name), index, fileInfo);
      }
      parserInput.restore("Expected ')'");
    }
    parserInput.restore();
  }
  return null;
}