public abstract class YamlNodeA node in a YAML document, and everything needed to write it back unchanged.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
This is a *lossy-on-purpose-nowhere* model. It carries the tag, the style, and the comments, because [08](../../../docs/plan/08-asset-pipeline-and-addressables.md) requires that reading a .meta file and writing it out again produces the same bytes — that property is what makes migrating a hundred thousand .meta files a diff nobody has to review. A model that dropped the style would rewrite { u: Repeat, v: Repeat } as two indented lines, and a model that dropped comments would delete what an artist wrote to explain a setting.
What it does not carry is anchors and aliases. The dialect has none: an asset reference is a vx: scalar, which is a better answer to the same question, and admitting anchors would mean admitting the cycles that come with them.
Fields and properties (3)
public string? TagThe type tag without its !, or .
public List<string> LeadingCommentsWhole-line comments written above this node, without their #.
public string? TrailingCommentA comment written after this node on the same line, without its #.
Used by (40)
- DockFloatVixen.Ui.Controls.Advanced
- DockGroupNodeVixen.Ui.Controls.Advanced
- DockLayoutVixen.Ui.Controls.Advanced
- DockNodeVixen.Ui.Controls.Advanced
- DockSplitNodeVixen.Ui.Controls.Advanced
- MetaTestsVixen.Core.Yaml.Tests
- ReadStateVixen.Core.Yaml
- RoundTripTestsVixen.Core.Yaml.Tests
- TargetOverridesVixen.Core.Yaml
- ThemeTokensVixen.Ui.Styling.Utilities
- YamlDialectTestsVixen.Core.Yaml.Tests
- YamlMappingVixen.Core.Yaml
- YamlReaderVixen.Core.Yaml
- YamlScalarVixen.Core.Yaml
- YamlSequenceVixen.Core.Yaml
- YamlSerializerVixen.Core.Yaml
- YamlWriterVixen.Core.Yaml
- AnimationClipAssetVixen.Editor.Assets
- AnimationClipImporterVixen.Editor.Assets
- AnimationClipImporterTestsVixen.Editor.Assets.Tests
- AssetReferenceScanVixen.Editor.Assets
- BudgetTestExtensionVixen.Editor.Assets.Tests
- ClipMetadataExtensionsVixen.Editor.Assets
- ClipMetadataTestsVixen.Editor.Assets.Tests
- ClipNotesExtensionVixen.Editor.Assets
- CompositorImporterVixen.Editor.Assets
- EditorScriptTestsVixen.Editor.Scripts.Tests
- IClipMetadataExtensionVixen.Editor.Assets
- ImportPipelineVixen.Editor.Assets
- ImportSettingsDocumentVixen.Editor.AssetEditors
- InProcessImportExecutorVixen.Editor.Assets
- KeyMapPresetVixen.Editor.Ui
- MaterialImporterVixen.Editor.Assets
- NativeFormatImporterVixen.Editor.Assets
- NavMeshImporterVixen.Editor.Assets
- ProjectHistoryVixen.Editor.App
- SceneImporterVixen.Editor.Assets
- ShapeYamlVixen.Editor.Assets
- TerrainAssetImporterVixen.Editor.Assets
- TypeRegistrationVixen.Editor.Assets