Python/pythonrun/compile

Source   Edit  

Procs

proc Py_CompileStringObject(str: string; filename: PyStrObject; mode: Mode;
                            flags = initPyCompilerFlags(); optimize = -1): PyObject {.
    ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
Source   Edit  
proc Py_SourceAsString(cmd: PyObject; funcname, what: string;
                       cf: PyCompilerFlags; cmd_copy: var PyObject;
                       res: var string): PyBaseErrorObject {....raises: [],
    tags: [RootEffect], forbids: [].}
_Py_SourceAsString Source   Edit  

Exports

Mode, lineNo, parseModeEnum, indentStack, LexerEscaper, cont, Lexer, |, |, &, &, &, toIntFlag, toIntFlag, &, PyCF, initPyCompilerFlags, PyCompilerFlags, |, &, PyCodeFutureOption, &, |, PyObject, asUTF8AndSize, newPyStr, eqPyStrObjectMagic, asUTF8, newPyStrIterSimple, PyUnicode_AsUTF8AndSize, &, newUnicodeUnicodeVariantOfCap, asUTF8AndSize, newPyStrObjectMagic, newUnicodeVariant, $, newPyString, newUnicodeUnicodeVariant, rfind, isAscii, PyDictObject, find, asUTF8, hashPyStrObjectMagic, findPyStrObjectMethod, cmpAscii, PyUnicode_InternMortal, newPyStr, find, pyStrIterObjectType, newPyStrIter, PyUnicode_READ, &, reprPyStrObjectMagic, join, countPyStrObjectMethod, eqAscii, ==, PyStrIterObject, substring, addPyStrObjectMagic, hash, joinPyStrObjectMethod, len, add, iterPyStrObjectMagic, checkConsistency, &, newPyAscii, rfindPyStrObjectMethod, lenPyStrObjectMagic, PyStrObject, PyArg_NoKw, fastCopyCharacters, hash, implMethodGenTargetAndStartStop, ofExactPyStrObject, newUnicodeOrAsciiUnicodeVariant, implMethodGenTargetAndStartStop, joinAsRunes, newUnicodeVariant, doKindsWith2It, newUnicodeVariant, newPyString, newUnicodeVariant, itemSize, repr, newUnicodeVariant, $, containsPyStrObjectMagic, strPyStrObjectMagic, find, kind, data, UnicodeVariant, ==, ofPyStrIterObject, newPyString, ofExactPyStrIterObject, newPyString, itemSize, newUnicodeUnicodeVariant, getitemPyStrObjectMagic, MAX_UNICODE, indexPyStrObjectMethod, newAsciiUnicodeVariant, PyUnicode_FromOrdinal, toRunes, newUnicodeUnicodeVariant, find, newAsciiUnicodeVariant, join, &, iternextPyStrIterObjectMagic, rfind, len, pyStrObjectType, newPyAscii, PyUnicode_FromOrdinal, PyArg_NoKw, ofPyStrObject, doBothKindOk, iterPyStrIterObjectMagic, rfind, newAsciiUnicodeVariantOfCap, PyUnicode_FromOrdinal, newPyString, rfind, PyUnicode_fromStringAndSize, substringUnsafe, newPyStrSimple, []