# Class: AstCommentAttachmentExtractor
Defined in: packages/core/src/transformers/AstCommentAttachmentExtractor.ts:41
Extracts comment attachment facts already represented in the SQL AST.
Remarks ​
This API does not infer product-specific meanings or rewrite comments. It returns a deterministic flat list without mutating the input AST.
Constructors ​
Constructor ​
new AstCommentAttachmentExtractor():
AstCommentAttachmentExtractor
Returns ​
AstCommentAttachmentExtractor
Methods ​
extract() ​
staticextract(input):AstCommentAttachment[]
Defined in: packages/core/src/transformers/AstCommentAttachmentExtractor.ts:49
Extract comment attachment facts from a SQL AST component.
Parameters ​
input ​
SqlComponent | null | undefined