Conversation
…aces Continues the documentation improvement effort from PRs #3249, #3252, and #3261. All remaining undocumented top-level type declarations in SyntaxOak.fs now carry a /// doc comment explaining their role in the Oak intermediate representation. Types documented: - TriviaContent — trivia kind enum (comments, blank lines, directives, cursor) - Node (interface) — base interface for all Oak nodes - NodeBase (abstract class) — shared trivia-queue implementation - IdentifierOrDot — element of a dotted qualified identifier - Type — DU for all F# type expressions - Pattern — DU for all F# patterns - InheritConstructor — constructor argument forms after 'inherit' - ComputationExpressionStatement — statement in a CE body - InfixApp (interface) — marker for infix-application nodes - ChainLink — link in a method-call/property-access chain - StaticOptimizationConstraint — compiler-internal optimisation constraint - Expr — DU for all F# expressions - Open — the two forms of open declaration - ITypeDefn (interface) — common interface for type-definition nodes - TypeDefn — DU for all type-definition forms - MemberDefn — DU for all member definitions - Constant — DU for literal constants - TyparDecls — DU for type-parameter declaration styles - TypeConstraint — DU for all type-constraint forms - RationalConstNode — DU for unit-of-measure rational exponents No logic changes — purely documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nojaf
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This PR was created by Repo Assist, an automated AI assistant. Please review carefully.
Continues the documentation improvement effort from PRs #3249, #3252, and #3261. All remaining undocumented top-level type declarations in
SyntaxOak.fsnow carry a///doc comment explaining their role in the Oak intermediate representation.Types documented (20 total)
TriviaContentNode(interface)NodeBase(abstract class)IdentifierOrDotTypePatternInheritConstructorinheritComputationExpressionStatementInfixApp(interface)ChainLinkStaticOptimizationConstraintExprOpenopendeclarationITypeDefn(interface)TypeDefnMemberDefnConstantTyparDeclsTypeConstraintRationalConstNodeNo logic changes — purely documentation.
Test Status
dotnet build src/Fantomas.Core/Fantomas.Core.fsproj— succeeded, 0 warningsdotnet test src/Fantomas.Core.Tests/— 2737 passed, 0 failed, 7 skipped