pascalabcnet/TreeConverter/TreeRealization/CompilerDirective.cs

21 lines
848 B
C#
Raw Permalink Normal View History

// 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
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
}