We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbdc9a4 + 4f12be8 commit 2f04248Copy full SHA for 2f04248
Sources/SwiftSyntaxBuilderGeneration/Child.swift
@@ -63,6 +63,11 @@ class Child {
63
return tokenChoices.first
64
}
65
66
+ /// Whether this child has syntax kind `GarbageNodes`.
67
+ var isGarbageNodes: Bool {
68
+ syntaxKind == "GarbageNodes"
69
+ }
70
+
71
/// If a classification is passed, it specifies the color identifiers in
72
/// that subtree should inherit for syntax coloring. Must be a member of
73
/// SyntaxClassification in SyntaxClassifier.h.gyb
0 commit comments