Exemple #1
0
  public boolean appendPseudoClass(PseudoClass node) {
    cssAndSM.append(node.getFullName(), node.getUnderlyingStructure());
    if (node.hasParameters()) {
      cssOnly.append('(');
      append(node.getParameter());
      cssOnly.append(')');
    }

    return true;
  }
Exemple #2
0
 public void variableAsPseudoclassParameter(PseudoClass errorNode) {
   addWarning(
       errorNode.getParameter(),
       "Variables as pseudo classes parameters have been deprecated. Use selector interpolation @{variableName} instead.");
 }