CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Class SourceLocation

    Data model that implements the contract ISourceLocation

    Inheritance
    object
    SourceLocation
    Implements
    ISourceLocation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.SourceCode
    Assembly: CodeFactory.dll
    Syntax
    public class SourceLocation : ISourceLocation

    Properties

    EndLocation

    The ending location for the definition of the source.

    Declaration
    public DocumentLocation EndLocation { get; }
    Property Value
    Type Description
    DocumentLocation

    StartLocation

    The starting location for the definition of the source.

    Declaration
    public DocumentLocation StartLocation { get; }
    Property Value
    Type Description
    DocumentLocation

    Methods

    Init(int, int, int, int)

    Create a instance of the SourceLocation data class.

    Declaration
    public static ISourceLocation Init(int startLine, int startPosition, int endLine, int endPosition)
    Parameters
    Type Name Description
    int startLine

    The starting line number for the source.

    int startPosition

    The starting character position for the source.

    int endLine

    The end line number for the source.

    int endPosition

    The end character position for the source.

    Returns
    Type Description
    ISourceLocation

    New instance of the SourceLocation returned as ISourceLocation.

    Implements

    ISourceLocation
    © CodeFactory, LLC. All rights reserved.