Table of Contents

Class CompilerPredefinedMacroTest

Namespace
ShadowDusk.HLSL.Ast
Assembly
ShadowDusk.HLSL.dll

A preprocessor conditional that tested a compiler-predefined macro.

public sealed record CompilerPredefinedMacroTest : IEquatable<CompilerPredefinedMacroTest>
Inheritance
CompilerPredefinedMacroTest
Implements
Inherited Members

Constructors

CompilerPredefinedMacroTest(string, string, int)

A preprocessor conditional that tested a compiler-predefined macro.

public CompilerPredefinedMacroTest(string Name, string File, int Line)

Parameters

Name string

The macro name.

File string

The author's file the conditional is in.

Line int

Its 1-based line in that file.

Properties

File

The author's file the conditional is in.

public string File { get; init; }

Property Value

string

Line

Its 1-based line in that file.

public int Line { get; init; }

Property Value

int

Name

The macro name.

public string Name { get; init; }

Property Value

string