TreeSitterQueryMatch constructor

const TreeSitterQueryMatch({
  1. required List<TreeSitterQueryCapture> captures,
  2. int id = 0,
  3. int patternIndex = 0,
  4. Map<String, String?> setProperties = const {},
  5. int priority = 0,
  6. int completionByte = -1,
  7. int startDepth = 0,
})

Implementation

const TreeSitterQueryMatch({
  required this.captures,
  this.id = 0,
  this.patternIndex = 0,
  this.setProperties = const {},
  this.priority = 0,
  this.completionByte = -1,
  int startDepth = 0,
}) : _startDepth = startDepth;