Search Results for

    Show / Hide Table of Contents

    Class SpecialTokenInfo

    Provides special information about the found token

    Inheritance
    object
    SpecialTokenInfo
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.BatchParser
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class SpecialTokenInfo

    Constructors

    SpecialTokenInfo(int, int, string, object)

    Initializes a new instance of the SpecialTokenInfo class.

    Declaration
    public SpecialTokenInfo(int index, int length, string token, object opaque = null)
    Parameters
    Type Name Description
    int index

    The index to the first character that is assigned to the token

    int length

    The content length that is assigned to the token

    string token

    The found token

    object opaque

    An opaque (token specific) value

    Remarks

    The index may not point to the real token text and the length might be longer than the token itself. This is usually the case when the token should be the only text on the line, but is instead surrounded by whitespace.

    Properties

    Index

    Gets the index to the first character that is assigned to the Token

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    int

    Length

    Gets the content length that is assigned to the Token

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int

    Opaque

    Gets an opaque (token specific) value

    Declaration
    [CanBeNull]
    public object Opaque { get; }
    Property Value
    Type Description
    object

    Token

    Gets the found token

    Declaration
    [NotNull]
    public string Token { get; }
    Property Value
    Type Description
    string
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.