Header menu logo Fabulous.AST

BlockCommentBuilders Module

Type extensions

Type extension Description

Ast.BlockComment(comment, ?newlineBefore, ?newlineAfter)

Full Usage: Ast.BlockComment(comment, ?newlineBefore, ?newlineAfter)

Parameters:
    comment : string - The comment text.
    ?newlineBefore : bool - Whether to add a newline before the comment content.
    ?newlineAfter : bool - Whether to add a newline after the comment content.

Returns: WidgetBuilder<TriviaContent>

Creates a block comment with optional newlines.

Extended Type: Ast

comment : string

The comment text.

?newlineBefore : bool

Whether to add a newline before the comment content.

?newlineAfter : bool

Whether to add a newline after the comment content.

Returns: WidgetBuilder<TriviaContent>

Type something to start searching.