makeName method

Name makeName(
  1. Token? tok
)

Implementation

Name makeName(Token? tok) => new Name(tok?.value?? "")
  ..start = tok?.startOffset?? 0
  ..end = tok?.endOffset?? 0
  ..line = tok?.line?? 0;