Class ModuleOptionDirectiveNode
- Namespace
- RDCore.SDK.Model.AST.Directives
- Assembly
- RDCore.SDK.dll
A BoundNode representing an Option module directive.
public record ModuleOptionDirectiveNode : DirectiveNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<ModuleOptionDirectiveNode>
- Inheritance
-
ModuleOptionDirectiveNode
- Implements
- Inherited Members
Constructors
ModuleOptionDirectiveNode(SyntaxNodeId, SourceLocation, ModuleOptions)
A BoundNode representing an Option module directive.
public ModuleOptionDirectiveNode(SyntaxNodeId Identity, SourceLocation Location, ModuleOptions ModuleOption)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Locationof the directive.ModuleOptionModuleOptionsThe
ModuleOptionsvalue being configured.
Properties
Location
The Location of the directive.
public SourceLocation Location { get; init; }
Property Value
ModuleOption
The ModuleOptions value being configured.
public ModuleOptions ModuleOption { get; init; }