GlobNodeBrace constructor

GlobNodeBrace(
  1. String source,
  2. int? position,
  3. List<GlobNode> nodes
)

Implementation

GlobNodeBrace(String source, int? position, List<GlobNode> nodes)
    : super(source, position, nodes) {
  if (_nodes!.length < 2) {
    throw ArgumentError(
        'The number of elements in the list of nodes must be at least 2');
  }
}