TreeSitterQueryNodePattern constructor
const
TreeSitterQueryNodePattern({
- String? nodeKind,
- String? supertypeKind,
- bool isWildcard = false,
- bool namedOnly = false,
- bool anonymousOnly = false,
- bool isMissing = false,
- List<
TreeSitterQueryNodePattern> alternatives = const [], - List<
String> captures = const [], - List<
TreeSitterQueryChildPattern> children = const [], - List<
String> negatedFields = const [], - 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,
});