All pastes #285194 Raw Edit

Miscellany

public text v1 · immutable
#285194 ·published 2006-12-19 17:42 UTC
rendered paste body

CLASSES
    Dumper
    YamlAnchors

    class Dumper
     |  Methods defined here:
     |
     |  __init__(self)
     |
     |  dump(self, *data)
     |
     |  dumpData(self, data)
     |
     |  dumpDict(self, data)
     |
     |  dumpDocuments(self, data)
     |
     |  dumpKey(self, key)
     |
     |  dumpList(self, data)
     |
     |  dumpMultiLineScalar(self, lines)
     |
     |  dumpRawObject(self, data)
     |
     |  dumpScalar(self, data)
     |
     |  dumpToFile(self, file, *data)
     |
     |  dumpTransformedObject(self, data)
     |
     |  indentDump(self, data)
     |
    |  outputToFile(self, data)
     |
     |  outputToString(self, data)
     |
     |  raiseToYamlSyntaxError(self)
     |
     |  setIndent(self, indent)
     |
     |  setSort(self, sort_hint)

    class YamlAnchors
     |  Methods defined here:
     |
     |  __init__(self, data)
     |
     |  isAlias(self, obj)
     |
     |  shouldAnchor(self, obj)

FUNCTIONS
    accumulate(obj, occur)

    doubleUpQuotes(data)

    dump(*data)

    dumpToFile(file, *data)

    hasMethod(object, method_name)

    hasSpecialChar(data)

    isDictionary(data)

    isMulti(data)

    isStr(data)
        ### STRING QUOTING AND SCALAR HANDLING

    isUnicode = sloppyIsUnicode(data)

    needsSingleQuote(data)

    quote(data)

    sloppyIsUnicode(data)

    sortMethod(sort_hint)

    sort_keys(keys, fn)

    ydump = dump(*data)