10#include "HighlightQuery.h"
26 return highlight_query;
#define LLDB_PLUGIN_DEFINE_ADV(ClassName, PluginName)
const TSLanguage * tree_sitter_swift()
Annotates source code with color attributes.
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
static bool UnregisterPlugin(ABICreateInstance create_callback)
llvm::StringRef GetHighlightQuery() const override
Returns the tree-sitter highlight query for this language.
static Highlighter * CreateInstance(lldb::LanguageType language)
SwiftTreeSitterHighlighter()=default
static llvm::StringRef GetPluginNameStatic()
const TSLanguage * GetLanguage() const override
Returns the tree-sitter language for this highlighter.
A class that represents a running process on the host machine.
LanguageType
Programming language type.
@ eLanguageTypeSwift
Swift.