Search Results for

    Show / Hide Table of Contents

    Class Match<TPath>

    The result of matching a System.String text against a System.String pattern.

    Inheritance
    System.Object
    Match<TPath>
    Implements
    System.IEquatable<Match<TPath>>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: MoreStructures.Strings.Matching
    Assembly: MoreStructures.dll
    Syntax
    public sealed class Match<TPath> : IEquatable<Match<TPath>>
    Type Parameters
    Name Description
    TPath

    The type of path. Depends on the algorithm and the data structure used for pattern matching.

    Constructors

    | Improve this Doc View Source

    Match(Boolean, Int32, Int32, TPath)

    The result of matching a System.String text against a System.String pattern.

    Declaration
    public Match(bool Success, int Begin, int MatchedChars, TPath Path)
    Parameters
    Type Name Description
    System.Boolean Success

    Whether the text has been completely matched or not.

    System.Int32 Begin

    The index in text of the best match.

    System.Int32 MatchedChars

    The number of chars matched from the text.

    TPath Path

    The path of nodes visited by the matching algorithm.

    Properties

    | Improve this Doc View Source

    Begin

    Declaration
    public int Begin { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    MatchedChars

    Declaration
    public int MatchedChars { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Path

    Declaration
    public TPath Path { get; set; }
    Property Value
    Type Description
    TPath
    | Improve this Doc View Source

    Success

    Declaration
    public bool Success { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>

    Extension Methods

    SuffixStructureNodeExtensions.GetAllSuffixesFor<TEdge, TNode>(TNode, TextWithTerminator)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX