All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

GetLineInfo(int)

Method in DebugInfo

Summary

Gets a LineInfo object that describes the specified instruction at the index instructionNumber .

public LineInfo GetLineInfo(int instructionNumber)

Parameters

Name
Description

int instructionNumber

A object that describes the position of the instruction.

CharacterNumber

Field in

The zero-indexed character number in that contains the statement or expression that this line was produced from.

DebugInfo

Class in

Inherits from System.Object

Contains debug information for a node in a Yarn file.

Name
Description

The index of the instruction to retrieve information for.

Returns

LineInfo
public int CharacterNumber;

Summary

LineInfo
FileName
Name
Description
public class DebugInfo

Summary

Methods

Yarn.Compiler

Gets a object that describes the specified instruction at the index instructionNumber .

Contains positional information about an instruction.

Structs

GetLineInfo(int)
LineInfo
LineInfo

NodeName

Field in

The node name of the source that this intruction was produced from.

FileName

Field in

The file name of the source that this intruction was produced from.

public string NodeName;

Summary

LineInfo
public string FileName;

Summary

LineInfo

LineInfo

Struct in DebugInfo

Inherits from System.ValueType

Summary

Contains positional information about an instruction.

public struct LineInfo

Fields

Name
Description

The zero-indexed character number in that contains the statement or expression that this line was produced from.

The file name of the source that this intruction was produced from.

The zero-indexed line number in that contains the statement or expression that this line was produced from.

The node name of the source that this intruction was produced from.

CharacterNumber
FileName
FileName
LineNumber
FileName
NodeName

LineNumber

Field in

The zero-indexed line number in that contains the statement or expression that this line was produced from.

public int LineNumber;

Summary

LineInfo
FileName