mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[incrParse] Support incremental parsing for edited files
This commit is contained in:
@@ -521,6 +521,13 @@ public:
|
||||
/// \brief Skip until the next '#else', '#endif' or until eof.
|
||||
void skipUntilConditionalBlockClose();
|
||||
|
||||
/// If the parser is generating only a syntax tree, try loading the current
|
||||
/// node from a previously generated syntax tree.
|
||||
/// Returns \c true if the node has been loaded and inserted into the current
|
||||
/// syntax tree. In this case the parser should behave as if the node has
|
||||
/// successfully been created.
|
||||
bool loadCurrentSyntaxNodeFromCache();
|
||||
|
||||
/// Parse an #endif.
|
||||
bool parseEndIfDirective(SourceLoc &Loc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user