Class AnnotationEntry
- Namespace
- ShadowDusk.HLSL.Ast
- Assembly
- ShadowDusk.HLSL.dll
A single entry inside an annotation block: TypeName Key = Value;
public sealed record AnnotationEntry : IEquatable<AnnotationEntry>
- Inheritance
-
AnnotationEntry
- Implements
- Inherited Members
Constructors
AnnotationEntry(string, string, string, SourceSpan)
A single entry inside an annotation block: TypeName Key = Value;
public AnnotationEntry(string Type, string Name, string Value, SourceSpan Span)
Parameters
TypestringNamestringValuestringSpanSourceSpan
Properties
Name
public string Name { get; init; }
Property Value
Span
public SourceSpan Span { get; init; }
Property Value
Type
public string Type { get; init; }
Property Value
Value
public string Value { get; init; }