withSourceRange method

  1. @override
LatexNode withSourceRange(
  1. SourceRange range
)
override

Creates a copy with a new sourceRange

Implementation

@override
LatexNode withSourceRange(SourceRange range) => EncloseNode(
  content,
  notations,
  attributes: attributes,
  sourceRange: range,
);