dextool.plugin.mutate.backend.utility

Public Imports

dextool.plugin.mutate.backend.type
public import dextool.plugin.mutate.backend.type;
Undocumented in source.
dextool.plugin.mutate.backend.mutation_type
public import dextool.plugin.mutate.backend.mutation_type;
Undocumented in source.

Members

Enums

OpKind (from dextool.clang_extensions)
enum OpKind via public import dextool.clang_extensions : OpKind;
Undocumented in source.

Functions

checksum
Checksum checksum(const(ubyte)[] a)

trusted: void[] is perfectly representable as ubyte[] accoding to the specification.

checksum
Checksum checksum(const(T[2]) a)

Package the values to a checksum.

checksum
Checksum checksum(T a, T b)

Package the values to a checksum.

rndSleep
void rndSleep(Duration min_, int span)

Sleep for a random time that is min_ + rnd(0, span msecs)

tokenize
auto tokenize(from.cpptooling.analyzer.clang.context.ClangContext ctx, Path file)
trustedRelativePath
Path trustedRelativePath(string p, AbsolutePath root)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

Blob (from dextool.plugin.mutate.backend.interface_)
public import dextool.plugin.mutate.backend.interface_ : Blob;
Undocumented in source.

Structs

TokenRange
struct TokenRange
Undocumented in source.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.