2024-07-02 16:10:50 +03:00
|
|
|
|
// 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;
|
2020-06-01 06:25:48 +03:00
|
|
|
|
public location location;
|
2020-11-22 22:10:26 +03:00
|
|
|
|
public string source_file; // Файл из которого загрузили директиву. В отличии от location - может указывать на .pcu
|
2024-07-02 16:10:50 +03:00
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2015-05-14 22:35:07 +03:00
|
|
|
|
}
|