descendantChildren property

List<ASTNode> get descendantChildren

Return the children and it's descendant children (unmodifiable).

Implementation

List<ASTNode> get descendantChildren {
  var descendantChildren = _descendantChildren;
  if (descendantChildren != null) return descendantChildren;

  if (_cacheDescendantChildren) {
    return _descendantChildren = UnmodifiableListView(
      _computeDescendantChildren(),
    );
  } else {
    return _computeDescendantChildren();
  }
}