BlockComment class final

A comment between open and close, such as /* and */.

With nested, inner open … close pairs nest, as in Dart, Rust, Swift and Haskell.

Inheritance

Constructors

BlockComment(String open, String close, {bool nested = false, String scope = Scopes.comment, List<Rule> rules = const []})
Creates a block comment block.
const

Properties

close → String
Text that closes the comment.
final
hashCode → int
The hash code for this object.
no setterinherited
nested → bool
Whether comments nest.
final
open → String
Text that opens the comment.
final
rules → List<Rule>
Extra rules inside the comment, such as doc tags.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String
Scope of the comment.
final

Methods

expand() → List<Rule>
The basic rules this block stands for. Called once per block.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited