CommentReferenceImpl constructor

CommentReferenceImpl({
  1. required Token? newKeyword,
  2. required CommentReferableExpressionImpl expression,
})

Initialize a newly created reference to a Dart element. The newKeyword can be null if the reference is not to a constructor.

Implementation

CommentReferenceImpl({
  required this.newKeyword,
  required CommentReferableExpressionImpl expression,
}) : _expression = expression {
  _becomeParentOf(_expression);
}