IdentifierExpr constructor

IdentifierExpr(
  1. String id, {
  2. bool isMarked = false,
  3. bool isLocal = true,
  4. HTIdentifierRole? role,
  5. HTSource? source,
  6. int line = 0,
  7. int column = 0,
  8. int offset = 0,
  9. int length = 0,
})

Implementation

IdentifierExpr(
  this.id, {
  this.isMarked = false,
  this.isLocal = true,
  HTIdentifierRole? role,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
})  : role =
          role ?? (isLocal ? HTIdentifierRole.read : HTIdentifierRole.member),
      super(InternalIdentifier.identifierExpression);