C# Class Stringier.Patterns.Fuzzer

Represents a fuzzy string pattern, a pattern which roughly matches within a tollerance.
Inheritance: Stringier.Patterns.Modifier
显示文件 Open project: Entomy/LibLangly

Protected Methods

Method Description
Consume ( ReadOnlySpan source, Int32 &location, Exception &exception, IAdd trace ) : void
IsConsumeHeader ( ReadOnlySpan source, Int32 location ) : Boolean
IsNeglectHeader ( ReadOnlySpan source, Int32 location ) : Boolean
Neglect ( ReadOnlySpan source, Int32 &location, Exception &exception, IAdd trace ) : void

Private Methods

Method Description
Fuzzer ( ReadOnlyMemory @string, Int32 maxEdits, Case casing ) : System

Initialize a new Fuzzer with the given string and maxEdits.

Fuzzer ( String @string, Int32 maxEdits, Case casing ) : System

Initialize a new Fuzzer with the given string and maxEdits.

Method Details

Consume() protected method

protected Consume ( ReadOnlySpan source, Int32 &location, Exception &exception, IAdd trace ) : void
source ReadOnlySpan
location Int32
exception Exception
trace IAdd
return void

IsConsumeHeader() protected method

protected IsConsumeHeader ( ReadOnlySpan source, Int32 location ) : Boolean
source ReadOnlySpan
location Int32
return Boolean

IsNeglectHeader() protected method

protected IsNeglectHeader ( ReadOnlySpan source, Int32 location ) : Boolean
source ReadOnlySpan
location Int32
return Boolean

Neglect() protected method

protected Neglect ( ReadOnlySpan source, Int32 &location, Exception &exception, IAdd trace ) : void
source ReadOnlySpan
location Int32
exception Exception
trace IAdd
return void