// If this CssNode has componentName, add a PrintNode (with '|id' directive) to print it.
ExprRootNode<?> componentNameExpr = node.getComponentNameExpr();
if (componentNameExpr != null) {
PrintNode pn =
new PrintNode(nodeIdGen.genId(), false, new ExprUnion(componentNameExpr), null);
pn.addChild(new PrintDirectiveNode(nodeIdGen.genId(), "|id", ""));
parent.addChild(indexInParent, pn);
indexInParent += 1;
}
// Add a RawTextNode for the selectorText. Also includes preceding dash ("-") if there is a