Struct Invocation
An invocation embedded in a dialogue line, retaining source location for diagnostics.
Inherited Members
Namespace: Ibralogue.Parser
Assembly: .dll
Syntax
public readonly struct Invocation
Constructors
| Edit this page View SourceInvocation(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 SourceArguments
The arguments passed to the invocation, as raw strings from the source.
Declaration
public readonly List<string> Arguments
Field Value
| Type | Description |
|---|---|
| List<string> |
CharacterIndex
The character position in the rendered text where this invocation occurs.
Declaration
public readonly int CharacterIndex
Field Value
| Type | Description |
|---|---|
| int |
Column
The source column number for diagnostic reporting.
Declaration
public readonly int Column
Field Value
| Type | Description |
|---|---|
| int |
Line
The source line number for diagnostic reporting.
Declaration
public readonly int Line
Field Value
| Type | Description |
|---|---|
| int |
Name
The name of the invocation to call.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| string |