encloseElements method

void encloseElements(
  1. List<Element> elements
)
inherited

Set this element as the enclosing element for given elements.

Implementation

void encloseElements(List<Element> elements) {
  for (Element element in elements) {
    element as ElementImpl;
    element._enclosingElement3 = this;
    element._enclosingElement = this;
  }
}