mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[incrParse] Perform a full reparse of the file if needed for formatting
This commit is contained in:
@@ -117,6 +117,10 @@ public:
|
||||
unsigned getBufferID() const;
|
||||
|
||||
std::string getFilePath() const;
|
||||
|
||||
/// Whether or not the AST stored for this document is up-to-date or just an
|
||||
/// artifact of incremental syntax parsing
|
||||
bool hasUpToDateAST() const;
|
||||
};
|
||||
|
||||
typedef IntrusiveRefCntPtr<SwiftEditorDocument> SwiftEditorDocumentRef;
|
||||
|
||||
Reference in New Issue
Block a user