TreeSitterQueryNodePattern constructor

const TreeSitterQueryNodePattern({
  1. String? nodeKind,
  2. String? supertypeKind,
  3. bool isWildcard = false,
  4. bool namedOnly = false,
  5. bool anonymousOnly = false,
  6. bool isMissing = false,
  7. List<TreeSitterQueryNodePattern> alternatives = const [],
  8. List<String> captures = const [],
  9. List<TreeSitterQueryChildPattern> children = const [],
  10. List<String> negatedFields = const [],
  11. bool anchorAtEnd = false,
})

Implementation

const TreeSitterQueryNodePattern({
  this.nodeKind,
  this.supertypeKind,
  this.isWildcard = false,
  this.namedOnly = false,
  this.anonymousOnly = false,
  this.isMissing = false,
  this.alternatives = const [],
  this.captures = const [],
  this.children = const [],
  this.negatedFields = const [],
  this.anchorAtEnd = false,
});