ILGPU  0.9.0
ILGPU.Frontend.DebugInformation.SequencePoint Class Reference

Represents a single sequence point of an instruction. More...

Inheritance diagram for ILGPU.Frontend.DebugInformation.SequencePoint:
ILGPU.IR.FileLocation ILGPU.IR.Location ILGPU.IR.ILocation

Public Member Functions

 SequencePoint (string fileName, int offset, int startColumn, int endColumn, int startLine, int endLine)
 Constructs a new sequence point. More...
 
override string ToString ()
 Returns the location information of this sequence point. More...
 
- Public Member Functions inherited from ILGPU.IR.FileLocation
 FileLocation (string fileName, int startColumn, int endColumn, int startLine, int endLine)
 Constructs a new file location. More...
 
override string FormatErrorMessage (string message)
 Formats the given message to include detailed file location information. More...
 
override bool Equals (object obj)
 Returns true if the given object is equal to the current location. More...
 
override int GetHashCode ()
 Returns the hash code of this sequence point. More...
 
override string ToString ()
 Returns the location information of this sequence point. More...
 

Properties

int Offset [get]
 Returns the associated offset (optional) More...
 
- Properties inherited from ILGPU.IR.FileLocation
string FileName [get]
 Return the associated file name. More...
 
int StartColumn [get]
 Returns the start column. More...
 
int EndColumn [get]
 Returns the end column. More...
 
int StartLine [get]
 Returns the start line. More...
 
int EndLine [get]
 Returns the end line. More...
 
- Properties inherited from ILGPU.IR.Location
static Location Unknown [get]
 Represents an unknown location. More...
 
static Location Nowhere = new UnknownLocation() [get]
 Represents no location. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ILGPU.IR.Location
static Location Merge (Location start, Location end)
 Merges two locations into one. More...
 
- Public Attributes inherited from ILGPU.IR.Location
bool IsKnown => this != Unknown
 Returns true if this location is a known location. More...
 

Detailed Description

Represents a single sequence point of an instruction.

Constructor & Destructor Documentation

ILGPU.Frontend.DebugInformation.SequencePoint.SequencePoint ( string  fileName,
int  offset,
int  startColumn,
int  endColumn,
int  startLine,
int  endLine 
)

Constructs a new sequence point.

Parameters
fileNameThe file name.
offsetThe byte offset.
startColumnThe start column.
endColumnThe end column.
startLineThe start line.
endLineThe end line.

Member Function Documentation

override string ILGPU.Frontend.DebugInformation.SequencePoint.ToString ( )

Returns the location information of this sequence point.

Returns
The location information string that represents this sequence point.

Property Documentation

int ILGPU.Frontend.DebugInformation.SequencePoint.Offset
get

Returns the associated offset (optional)


The documentation for this class was generated from the following file: