pascalabcnet/TreeConverter/TreeRealization/CompilerDirective.cs
AlexanderZemlyak d5e9994ff2
Revert pascal language moving to language plugins (#3175)
* Return Parsers folder with standard parsers and move SyntaxTreeConverters back to Core

* Rename PascalLanguage project to PascalABCLanguageInfo

* Fix pascal dll loading
2024-07-02 16:10:50 +03:00

21 lines
848 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
namespace PascalABCCompiler.TreeRealization
{
public class compiler_directive
{
public string name;
public string directive;
public location location;
public string source_file; // Файл из которого загрузили директиву. В отличии от location - может указывать на .pcu
public compiler_directive(string name, string directive, location loc, string source_file)
{
this.name = name;
this.directive = directive;
this.location = loc;
this.source_file = source_file;
}
}
}