class_docstr: Context-sensitive token parsing.
  
  Provides methods to examine the input stream to check whether the next token
  matches.
class_docstr_tok: ["Context-sensitive","token","parsing",".","Provides","methods","to","examine","the","input","stream","to","check","whether","the","next","token","matches","."]
docstr: Move beyond provided token name, if at current position.
docstr_tok: ["Move","beyond","provided","token","name",",","if","at","current","position","."]
code: def consume(self, name: str) -> None:
      """Move beyond provided token name, if at current position."""
      if self.check(name):
          self.read()
  
file_path: metaflow/metaflow/_vendor/packaging/_tokenizer.py
imports: import contextlib
  import re
  from dataclasses import dataclass
  from typing import Dict, Iterator, NoReturn, Optional, Tuple, Union
  from .specifiers import Specifier
label_desc: Use image node_id 2 for calling the Tokenizer obj's underlying member method code with example usage: obj.consume(name) without return types