class_docstr: A utility class for RegexpTagger to hold all tokens for a given Sentence and define some functionality.
  
  Args:
      sentence: A Sentence object
class_docstr_tok: ["A","utility","class","for","RegexpTagger","to","hold","all","tokens","for","a","given","Sentence","and","define","some","functionality",".","Args",":","sentence",":","A","Sentence","object"]
code: def tokens(self) -> List[Token]:
      return list(self.sentence)
  
file_path: flair/flair/models/regexp_tagger.py
imports: import re
  import typing
  from dataclasses import dataclass, field
  from typing import Dict, List, Tuple, Union
  from flair.data import Sentence, Span, Token
label_desc: Use image node_id 2 for calling the TokenCollection obj's underlying member method code with example usage: obj.tokens() and returns: list