initStyleEncapsulation function
Implementation
void initStyleEncapsulation(CompileView view, o.ClassStmt viewClass) {
// Only component views initialize styles; embedded views inherit them from
// their parent, and host views have none.
if (view.viewType == ViewType.component) {
_ViewStyleLinker(view, viewClass).initStyleEncapsulation();
}
}