mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a shared library with a C API that provides access to the syntactic parser with callbacks for the inference of raw syntax nodes. This is primarily intended to be used by SwiftSyntax to speed-up source code parsing for it.
6 lines
228 B
C
6 lines
228 B
C
// This file serves as a sanity check to ensure that the header is parseable
|
|
// from C and that no C++ code has sneaked in.
|
|
|
|
#include "swift-c/SyntaxParser/SwiftSyntaxParser.h"
|
|
typedef swiftparse_syntax_node_t _check_it_exists;
|