Search Results for

    Show / Hide Table of Contents

    Struct Invocation

    An invocation embedded in a dialogue line, retaining source location for diagnostics.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Ibralogue.Parser
    Assembly: .dll
    Syntax
    public readonly struct Invocation

    Constructors

    | Edit this page View Source

    Invocation(string, List<string>, int, int, int)

    Declaration
    public Invocation(string name, List<string> arguments, int characterIndex, int line, int column)
    Parameters
    Type Name Description
    string name
    List<string> arguments
    int characterIndex
    int line
    int column

    Fields

    | Edit this page View Source

    Arguments

    The arguments passed to the invocation, as raw strings from the source.

    Declaration
    public readonly List<string> Arguments
    Field Value
    Type Description
    List<string>
    | Edit this page View Source

    CharacterIndex

    The character position in the rendered text where this invocation occurs.

    Declaration
    public readonly int CharacterIndex
    Field Value
    Type Description
    int
    | Edit this page View Source

    Column

    The source column number for diagnostic reporting.

    Declaration
    public readonly int Column
    Field Value
    Type Description
    int
    | Edit this page View Source

    Line

    The source line number for diagnostic reporting.

    Declaration
    public readonly int Line
    Field Value
    Type Description
    int
    | Edit this page View Source

    Name

    The name of the invocation to call.

    Declaration
    public readonly string Name
    Field Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Ibralogue Docs