src/hmisc/extra/treediff/jcommon

  Source   Edit

Types

Iterable[T] = iterator (): T
  Source   Edit

Procs

func `=*=`[T1, T2](o1: ref T1; o2: ref T2): bool
  Source   Edit
func fill[R, T](arr: var array[R, T]; key: T)
  Source   Edit
func fill[T](arr: var seq[T]; key: T)
  Source   Edit
func findAny[T](s: HashSet[T]): T
  Source   Edit
func isEmpty[T](s: seq[T]): bool
  Source   Edit
func narr[R, T](arrRange: typedesc[R]; key: T): array[R, T]
  Source   Edit
func nseq[T](dim1, dim2, dim3: int; def: T): seq[seq[seq[T]]]
  Source   Edit
func nseq[T](dim1, dim2: int; def: T): seq[seq[T]]
  Source   Edit
func nseq[T](dim1: int; def: T): seq[T]
  Source   Edit
func postDec(arg: var int): int {.discardable, ...raises: [], tags: [].}
  Source   Edit
func postInc(arg: var int): int {.discardable, ...raises: [], tags: [].}
  Source   Edit
func preDec(arg: var int): int {.discardable, ...raises: [], tags: [].}
  Source   Edit
func preInc(arg: var int): int {.discardable, ...raises: [], tags: [].}
  Source   Edit
func remove[T](s: var seq[T]; idx: int): T {.discardable.}
  Source   Edit
func remove[T](s: var seq[T]; item: T): bool {.discardable.}
  Source   Edit

Exports

joinw, enumerate, last, escapeStrLit, snakeToCamelCase, ritems, addSuffix, addIndent, dropLongestSubseq, posString, toSnakeCamelCase, ^, toUpperAscii, [], findEnd, emptySeq, joinCamel, cumsumjoin, startsWith, ritems, wrap, commonPrefix, getKeys, dropPrefix, findMinIt, indentBody, rfindByKind, itemsIsLast, parseEnum, noneOfIt, |>>, ==, splitList, toStrPart, zip, endsWith, rmpairs, makeCommentSection, modiv, ritems, toDashedCase, ==, dropPrefix, fmt3, splitSnake, getMark, ^, ..+, wrap, allOfIt, findMaxIt, lit3, [], mapIt1, splitCamel, abbrevCamel, isSubseq, [], |<<, mapSomeIt, dashedWords, ifSomeIt, rpairs, delete, getMaxIt, msgjoinImpl, EnumParseError, InterpolatedExprKind, itemsIsFirst, enclosedIn, max, getRandMark, escapeHTML, dropSubstr, dropLongestSubseq, nextRandVal, startsWith, clampLow, matchProc1, rmitems, StrPartConv, StrNormalizationKind, skip1, joinLiteral, IdentStyle, addPrefix, [], matchWith, [], splitOnIt, abbrevCamel, StringAlignDirection, wrap, dropCommonPrefix, last2, interpolatedExprs, fixCapitalizeAscii, toStrPart, filterPrefix, getIndent, anyOfIt, disjointIter, nextVal, toSnakeCase, maxIt, StrPart, matchCurry2, mitemsIsLast, addPrefix, order, last, minIt, [], wrap, dropSuffix, StrPartKind, |<<, toStrPart, dropSubseq, splitTokenize, setIf, delete, StrPartTuple, last2, dropPrefix, len, getIterOpType, |<>, startsWith, addPrefix, getMinIt, getSome, mitemsIsFirst, keepNimIdentChars, fmtJoin, join, StrBackIndex, contains, joinkv, MarkTable, rfind, curry2, abbrevSnake, |>>, setMax, joinq, curry1, CharBackIndex, toStrPart, joinl, enclosedIn, startsWith, join, sumjoin, orElse, dropNormPrefix, items, msgjoin, LenIndexable, normalize, endsWith, toStrPartTuple, itemsIsFirstLast, dropLowerPrefix, splitTokenize, mapChar, replaceN, mismatchStart, matchProc2, getRandomBase64, sumIt, enclosedIn, join, joinql, newParseError, last, mget, withMutIt, intersect, currentSourceDir, clampIdx, dowhile, inFor, getHax, mapEnum, newImplementBaseError, toRevMapArray, of, asExpr, assertArg, -, twoPassSortByIt, nor, clear, lit3, startHaxComp, findIt, Utf8Continuations, mq, dollar, asVar, canImport, prepareMsg, tern, newImplementKindError, mkind, newSetterError, echove, &, stopHaxComp, toMapArray, postInc, Utf8Starts, @, dieHereComp, kindToStr, toString, mblock, add, getOr, workHaxComp, workHax, assertOption, preInc, echov, inFor, sortIt, Utf8Any, pushHax, ?, toMapArray, sweepGroupByIt, getOr, GetterError, d, //, toArrayKeys, globalTick, assertRefFields, lit3, Utf8Starts4, CodeError, cblock, top, mq1, assertRef, LogicError, msep, raiseImplementError, dieHereMacro, ///, Utf8Starts3, of, mexpected, ?, ifHaxComp, ImplementKindError, pairs, NilArgumentError, asRef, stopHax, byaddr1, getClamped, empty, newLogicError, first, haxRunningComp, namedItemListing, madd, echoi, newUnexpectedKindError, &, assertKind, EnvironmentAssertionError, ParseError, getIt, toMapArray, toT, newUnexpectedKindError, newHException, assertHasIdx, toValSet, haxThis, asRef, withResIt, echoi, groupByIt, mergeUniqByIt, toMapArraySome, asPtr, newImplementError, asSet, takesOnlyMutable, SliceTypes, haxRunning, joinWords, mfound, dev, cexpr, and, getSomeIt, currIInfo, eachIt, ErrorAnnotation, procIt, IndexTypes, SetterError, nand, last, dumpTyped, Attr, printCpuTime, mitem, setKind, UnexpectedKindError, withIt, width, de, mfound, GlobalSubstring, clear, newGetterError, ?, endFor, last2, Utf8Starts2, haxc, @, mgetOrDefault, startHax, dieHere, importx, canGet, ImplementBaseError, newIt, curIDir, not, plog, dechofmt, deduplicateIt, &=, clamp, getHaxStack, inWhile, colorPrint, ImplementError, add, mwrap, setIt, here, expectType, notNil, getIt, startFor, getOr, withDeepIt, popHax, pop, subnodesEq, joinAnyOf, newArgumentError, clamp, globalTick, procIt, or, relToSource, InstantiationInfo, asSet, toSet, NoneArgumentError, mcode, toKeySet, toValSeq, logicAssert, newEnvironmentAssertionError, NoValue, add, isMutable, first, ArgumentError, asConst, asRef, debugechoi, add, It, toPluralNoun, ploc, getId, PPrintTree, one, PPrintTreeKind, globKind, pprintObjectTree, pglob, getRightMargin, toPPrintBlock, newPPrintNil, newPPrintAnnotation, ppblock, forceLine, updateCounts, $, toPprintTree, forceStack, $, objectTreeRepr, PPrintExtraField, pstring, instLevel, ppblock, PPrintConf, ppblock, newTypeInstCount, newPPrintVariant, debugpprint, matchTypeField, newPPrintType, star, PPrintLytForce, treeDiff, instCount, PPrintLytChoice, match, newPPrintObject, add, ptkObjectKinds, matchField, ppblock, annotate, objectToPprintTree, pptree, newPPrintTree, pprint, toPPrintTree, assertValid, pathElem, forceChoice, add, matchTypeFields, pprintExtraField, newPPrintNil, updateCounts, $, isCommonType, newPPrintConst, getField, newPPrintType, isVisited, toPprintTree, globKind, field, isNilEntry, PPrintPath, $, pathElem, $, typeName, PPrintType, matches, globEqCmp, newPPrintConst, pptree, toPprintTree, matchAll, newPPrintSeq, matchType, &, pprintExtraField, pconf, newPPrintError, isErrorDeref, pstring, pathElem, newPPrintMap, add, newPPrintConst, newPPrintType, ignoredBy, visit, defaultPPrintConf