NodeV3 constructor

NodeV3(
  1. int start,
  2. int end, {
  3. Tag? tag,
  4. String? content,
  5. NodeV3? parent,
})

Implementation

NodeV3(
  this.start,
  this.end, {
  this.tag,
  this.content,
  this.parent,
}) {
  if (tag != null && content != null)
    throw Exception("content and tag cannot both be != null");
}