Logo Fabulous.AST

SyntaxOakModifiers Type

Static members

Static member Description

SyntaxOakModifiers.hashDirective (this, value)

Full Usage: SyntaxOakModifiers.hashDirective (this, value)

Parameters:
Returns: WidgetBuilder<Oak>
Modifiers: inline

Sets the hash directive for the current Oak widget, from a directive declaration such as NoWarn or HashDirective.

this : WidgetBuilder<Oak>

Current widget.

value : WidgetBuilder<ModuleDecl>

The hash directive to set.

Returns: WidgetBuilder<Oak>
ArgumentException The value is not a hash directive.

SyntaxOakModifiers.hashDirective (this, value)

Full Usage: SyntaxOakModifiers.hashDirective (this, value)

Parameters:
Returns: WidgetBuilder<Oak>
Modifiers: inline

Sets the hash directive for the current Oak widget from a raw Fantomas node (for example EscapeHatch(ParsedHashDirectiveNode(...))). To use NoWarn or HashDirective, use the overload that takes a module declaration.

this : WidgetBuilder<Oak>

Current widget.

value : WidgetBuilder<ParsedHashDirectiveNode>

The hash directive to set.

Returns: WidgetBuilder<Oak>

SyntaxOakModifiers.hashDirectives (this, values)

Full Usage: SyntaxOakModifiers.hashDirectives (this, values)

Parameters:
Returns: WidgetBuilder<Oak>
Modifiers: inline

Sets the hash directives for the current Oak widget, from directive declarations such as NoWarn or HashDirective.

this : WidgetBuilder<Oak>

Current widget.

values : WidgetBuilder<ModuleDecl> seq

The hash directives to set.

Returns: WidgetBuilder<Oak>
ArgumentException A value is not a hash directive.

SyntaxOakModifiers.hashDirectives (this, values)

Full Usage: SyntaxOakModifiers.hashDirectives (this, values)

Parameters:
Returns: WidgetBuilder<Oak>
Modifiers: inline

Sets the hash directives for the current Oak widget from raw Fantomas nodes (for example EscapeHatch(ParsedHashDirectiveNode(...))). To use NoWarn or HashDirective, use the overload that takes module declarations.

this : WidgetBuilder<Oak>

Current widget.

values : WidgetBuilder<ParsedHashDirectiveNode> seq

The hash directives to set.

Returns: WidgetBuilder<Oak>

Type something to start searching.