CommentRule class
Describes how comments for a language work.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- CommentRule({String? lineComment, CharacterPair? blockComment})
-
factory
Properties
- blockComment ↔ CharacterPair?
-
Available on CommentRule, provided by the CommentRule$Typings extension
The block comment character pair, like/* block comment */
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- lineComment ↔ String?
-
Available on CommentRule, provided by the CommentRule$Typings extension
The line comment token, like// this is a comment
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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