Lines Matching defs:yaml
1 //===--- YAMLParser.cpp - Simple YAML parser ------------------------------===//
10 // This file implements a YAML parser.
26 using namespace yaml;
98 namespace yaml {
99 /// Token - A single YAML token.
249 namespace yaml {
250 /// @brief Scans YAML tokens from a MemoryBuffer.
302 // The following functions are based on the gramar rules in the YAML spec. The
474 /// @brief Current YAML indentation level in spaces.
507 } // end namespace yaml
539 bool yaml::dumpTokens(StringRef Input, raw_ostream &OS) {
620 bool yaml::scanTokens(StringRef Input) {
622 llvm::yaml::Scanner scanner(Input, SM);
624 llvm::yaml::Token T = scanner.getNext();
633 std::string yaml::escape(StringRef Input) {
705 InputBuffer = MemoryBuffer::getMemBuffer(Input, "YAML");
1074 if (Name == "YAML") {