class_docstr: A SpanProto implementation for internal use.
class_docstr_tok: ["A","SpanProto","implementation","for","internal","use","."]
code: def text(self) -> str:
      return self.doc.text[self.start_char : self.end_char]
  
imports: from dataclasses import dataclass, field
  from typing import Any, Dict, Iterator, List, Optional, TypeVar
  from typing_extensions import Protocol, runtime_checkable
label_desc: Use image node_id 1 for calling the Span obj's underlying member method code with example usage: obj.text() and returns: self