IdentifierExpr.fromToken constructor

IdentifierExpr.fromToken(
  1. Token idTok, {
  2. bool isMarked = false,
  3. bool isLocal = true,
  4. HTSource? source,
})

Implementation

IdentifierExpr.fromToken(
  Token idTok, {
  bool isMarked = false,
  bool isLocal = true,
  HTSource? source,
}) : this(idTok.literal,
          isLocal: isLocal,
          source: source,
          line: idTok.line,
          column: idTok.column,
          offset: idTok.offset,
          length: idTok.length);