Lines Matching defs:Output
388 // Output
391 Output::Output(raw_ostream &yout, void *context)
402 Output::~Output() {
405 bool Output::outputting() {
409 void Output::beginMapping() {
414 bool Output::mapTag(StringRef Tag, bool Use) {
416 this->output(" ");
417 this->output(Tag);
422 void Output::endMapping() {
426 bool Output::preflightKey(const char *Key, bool Required, bool SameAsDefault,
437 void Output::postflightKey(void *) {
444 void Output::beginDocuments() {
448 bool Output::preflightDocument(unsigned index) {
454 void Output::postflightDocument() {
457 void Output::endDocuments() {
458 output("\n...\n");
461 unsigned Output::beginSequence() {
467 void Output::endSequence() {
471 bool Output::preflightElement(unsigned, void *&) {
475 void Output::postflightElement(void *) {
478 unsigned Output::beginFlowSequence() {
482 output("[ ");
487 void Output::endFlowSequence() {
492 bool Output::preflightFlowElement(unsigned, void *&) {
494 output(", ");
496 output("\n");
498 output(" ");
500 output(" ");
505 void Output::postflightFlowElement(void *) {
509 void Output::beginEnumScalar() {
513 bool Output::matchEnumScalar(const char *Str, bool Match) {
522 bool Output::matchEnumFallback() {
529 void Output::endEnumScalar() {
534 bool Output::beginBitSetScalar(bool &DoClear) {
536 output("[ ");
542 bool Output::bitSetMatch(const char *Str, bool Matches) {
545 output(", ");
546 this->output(Str);
552 void Output::endBitSetScalar() {
556 void Output::scalarString(StringRef &S, bool MustQuote) {
572 output("'"); // Starting single quote.
577 output(StringRef(&Base[i], j - i + 1));
578 output("'");
583 output(StringRef(&Base[i], j - i));
587 void Output::setError(const Twine &message) {
590 bool Output::canElideEmptySequence() {
603 void Output::output(StringRef s) {
608 void Output::outputUpToEndOfLine(StringRef s) {
609 this->output(s);
614 void Output::outputNewLine() {
623 void Output::newLineCheck() {
643 output(" ");
646 output("- ");
651 void Output::paddedKey(StringRef key) {
652 output(key);
653 output(":");
656 output(&spaces[key.size()]);
658 output(" ");
665 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) {
680 void ScalarTraits<StringRef>::output(const StringRef &Val, void *,
691 void ScalarTraits<std::string>::output(const std::string &Val, void *,
702 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *,
719 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *,
735 void ScalarTraits<uint32_t>::output(const uint32_t &Val, void *,
751 void ScalarTraits<uint64_t>::output(const uint64_t &Val, void *,
765 void ScalarTraits<int8_t>::output(const int8_t &Val, void *, raw_ostream &Out) {
781 void ScalarTraits<int16_t>::output(const int16_t &Val, void *,
796 void ScalarTraits<int32_t>::output(const int32_t &Val, void *,
811 void ScalarTraits<int64_t>::output(const int64_t &Val, void *,
824 void ScalarTraits<double>::output(const double &Val, void *, raw_ostream &Out) {
837 void ScalarTraits<float>::output(const float &Val, void *, raw_ostream &Out) {
850 void ScalarTraits<Hex8>::output(const Hex8 &Val, void *, raw_ostream &Out) {
865 void ScalarTraits<Hex16>::output(const Hex16 &Val, void *, raw_ostream &Out) {
880 void ScalarTraits<Hex32>::output(const Hex32 &Val, void *, raw_ostream &Out) {
895 void ScalarTraits<Hex64>::output(const Hex64 &Val, void *, raw_ostream &Out) {