Lines Matching defs:FragmentCompiler
92 struct FragmentCompiler { struct
93 FragmentCompiler(CompiledFragmentImpl &Out, DiagnosticCallback D, in FragmentCompiler() argument
96 CompiledFragmentImpl &Out;
97 DiagnosticCallback Diagnostic;
98 llvm::SourceMgr *SourceMgr;
100 std::string FragmentDirectory;
102 llvm::Optional<llvm::Regex> compileRegex(const Located<std::string> &Text) { in compileRegex()
113 llvm::Optional<std::string> makeAbsolute(Located<std::string> Path, in makeAbsolute()
135 template <typename T> class EnumSwitch {
175 EnumSwitch<T> compileEnum(llvm::StringRef EnumName, in compileEnum()
180 void compile(Fragment &&F) { in compile()
192 void compile(Fragment::IfBlock &&F) { in compile()
239 void compile(Fragment::CompileFlagsBlock &&F) { in compile()
265 void compile(Fragment::IndexBlock &&F) { in compile()
279 void compile(Fragment::IndexBlock::ExternalBlock &&External, in compile()
330 void compile(Fragment::StyleBlock &&F) { in compile()
350 void appendTidyCheckSpec(std::string &CurSpec, in appendTidyCheckSpec()
365 void compile(Fragment::ClangTidyBlock &&F) { in compile()
394 constexpr static llvm::SourceMgr::DiagKind Error = llvm::SourceMgr::DK_Error;
395 constexpr static llvm::SourceMgr::DiagKind Warning =
397 void diag(llvm::SourceMgr::DiagKind Kind, llvm::StringRef Message, in diag()