copyWith method

ValueNode copyWith({
  1. String? value,
  2. String? raw,
  3. String? type,
  4. Location? loc,
})

Implementation

ValueNode copyWith({
  String? value,
  String? raw,
  String? type,
  Location? loc,
}) {
  return ValueNode(
    value ?? this.value,
    raw ?? this.raw,
    type: type ?? this.type,
    loc: loc ?? this.loc,
  );
}