pascalabcnet/TreeConverter/TreeRealization/CompilerDirective.cs
2020-11-22 21:10:26 +02:00

24 lines
882 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)
using System;
using PascalABCCompiler.Collections;
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;
}
}
}