![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
SourceLocation (string fileSource, int position, int line, int column) | |
Initializes a new instance of the SourceLocation struct. More... | |
SourceLocation (int position, int line, int column) | |
Initializes a new instance of the SourceLocation struct. More... | |
override string | ToString () |
string | ToString (bool useShortFileName) |
Public Attributes | |
string | FileSource |
Filename source. More... | |
int | Position |
Absolute position in the file. More... | |
int | Line |
Line in the file (1-based). More... | |
int | Column |
Column in the file (1-based). More... | |
A Source location.
Definition at line 11 of file SourceLocation.cs.
SiliconStudio.Shaders.Ast.SourceLocation.SourceLocation | ( | string | fileSource, |
int | position, | ||
int | line, | ||
int | column | ||
) |
Initializes a new instance of the SourceLocation struct.
fileSource | The file source. |
position | The position. |
line | The line. |
column | The column. |
Definition at line 46 of file SourceLocation.cs.
SiliconStudio.Shaders.Ast.SourceLocation.SourceLocation | ( | int | position, |
int | line, | ||
int | column | ||
) |
Initializes a new instance of the SourceLocation struct.
position | The position. |
line | The line. |
column | The column. |
Definition at line 60 of file SourceLocation.cs.
override string SiliconStudio.Shaders.Ast.SourceLocation.ToString | ( | ) |
Definition at line 69 of file SourceLocation.cs.
string SiliconStudio.Shaders.Ast.SourceLocation.ToString | ( | bool | useShortFileName | ) |
Definition at line 74 of file SourceLocation.cs.
int SiliconStudio.Shaders.Ast.SourceLocation.Column |
Column in the file (1-based).
Definition at line 33 of file SourceLocation.cs.
string SiliconStudio.Shaders.Ast.SourceLocation.FileSource |
Filename source.
Definition at line 18 of file SourceLocation.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.PreVisitNode().
int SiliconStudio.Shaders.Ast.SourceLocation.Line |
Line in the file (1-based).
Definition at line 28 of file SourceLocation.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.PreVisitNode(), and SiliconStudio.Shaders.Writer.ShaderWriter.WriteLinkLine().
int SiliconStudio.Shaders.Ast.SourceLocation.Position |
Absolute position in the file.
Definition at line 23 of file SourceLocation.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.PreVisitNode().