mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Delete libSyntax
This commit is contained in:
@@ -60,7 +60,6 @@ namespace swift {
|
||||
/// \c llvm::PointerIntPair. This is in particular guaranteed for pointers
|
||||
/// to C/C++ objects and for pointers that were generated by Swift and passed
|
||||
/// to the compiler via a C API (in particular \c CLibParseActions ).
|
||||
typedef const void *OpaqueSyntaxNode;
|
||||
class Parser;
|
||||
class SerializationOptions;
|
||||
class SILOptions;
|
||||
@@ -68,8 +67,6 @@ namespace swift {
|
||||
class SourceFile;
|
||||
enum class SourceFileKind;
|
||||
class SourceManager;
|
||||
class SyntaxParseActions;
|
||||
class SyntaxParsingCache;
|
||||
struct TBDGenOptions;
|
||||
class Token;
|
||||
class TopLevelContext;
|
||||
@@ -300,16 +297,14 @@ namespace swift {
|
||||
public:
|
||||
ParserUnit(SourceManager &SM, SourceFileKind SFKind, unsigned BufferID,
|
||||
const LangOptions &LangOpts, const TypeCheckerOptions &TyOpts,
|
||||
const SILOptions &SILOpts, StringRef ModuleName,
|
||||
std::shared_ptr<SyntaxParseActions> spActions = nullptr,
|
||||
SyntaxParsingCache *SyntaxCache = nullptr);
|
||||
const SILOptions &SILOpts, StringRef ModuleName);
|
||||
ParserUnit(SourceManager &SM, SourceFileKind SFKind, unsigned BufferID);
|
||||
ParserUnit(SourceManager &SM, SourceFileKind SFKind, unsigned BufferID,
|
||||
unsigned Offset, unsigned EndOffset);
|
||||
|
||||
~ParserUnit();
|
||||
|
||||
OpaqueSyntaxNode parse();
|
||||
void parse();
|
||||
|
||||
Parser &getParser();
|
||||
SourceFile &getSourceFile();
|
||||
|
||||
Reference in New Issue
Block a user