DocumentNode constructor

const DocumentNode(
  1. {List<DefinitionNode> definitions: const [],
  2. FileSpan span}
)

Implementation

const DocumentNode({
  this.definitions = const [],
  FileSpan span,
})  : assert(definitions != null),
      super(span);