mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[libSyntax] Re-enable dumping of ParsedRawSyntaxNode children
This requires a SyntaxParsingContext to be passed to the dump function and was thus disabled in an earlier commit
This commit is contained in:
@@ -223,6 +223,12 @@ ParsedRawSyntaxRecorder::getDeferredChild(const ParsedRawSyntaxNode &parent,
|
||||
childInfo.IsMissing);
|
||||
}
|
||||
|
||||
size_t ParsedRawSyntaxRecorder::getDeferredNumChildren(
|
||||
const ParsedRawSyntaxNode &node) const {
|
||||
assert(node.isDeferredLayout());
|
||||
return SPActions->getDeferredNumChildren(node.getData());
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
void ParsedRawSyntaxRecorder::verifyElementRanges(ArrayRef<ParsedRawSyntaxNode> elements) {
|
||||
SourceLoc prevEndLoc;
|
||||
|
||||
Reference in New Issue
Block a user