Table of Contents

Class SourceDocument

Namespace
Dassie.Compiler
Assembly
Dassie.Compiler.dll

Represents a document containing Dassie source code.

public class SourceDocument
Inheritance
SourceDocument
Inherited Members
Extension Methods

Constructors

SourceDocument(string, string)

Creates a new instance of the SourceDocument type.

public SourceDocument(string text, string symbolicName)

Parameters

text string

The source code of the document.

symbolicName string

The name of the document.

Properties

SourceText

The actual source code.

public string SourceText { get; }

Property Value

string

SymbolicName

The name associated with the document, displayed in error messages.

public string SymbolicName { get; }

Property Value

string