(tokenizer)
Skips over a complete field (name and value/message).

  Args:
    tokenizer: A tokenizer to parse the field name and values.
Skips over a complete field (name and value/message).
Skips over a complete field ( name and value / message ) .
def _SkipField(tokenizer):
  """Skips over a complete field (name and value/message).

  Args:
    tokenizer: A tokenizer to parse the field name and values.
  """
  if tokenizer.TryConsume('['):
    # Consume extension name.
    tokenizer.ConsumeIdentifier()
    while tokenizer.TryConsume('.'):
      tokenizer.ConsumeIdentifier()
    tokenizer.Consume(']')
  else:
    tokenizer.ConsumeIdentifier()

  _SkipFieldContents(tokenizer)

  # For historical reasons, fields may optionally be separated by commas or
  # semicolons.
  if not tokenizer.TryConsume(','):
    tokenizer.TryConsume(';')
def _SkipField ( tokenizer ) : if tokenizer . TryConsume ( '[' ) : # Consume extension name. tokenizer . ConsumeIdentifier ( ) while tokenizer . TryConsume ( '.' ) : tokenizer . ConsumeIdentifier ( ) tokenizer . Consume ( ']' ) else : tokenizer . ConsumeIdentifier ( ) _SkipFieldContents ( tokenizer ) # For historical reasons, fields may optionally be separated by commas or # semicolons. if not tokenizer . TryConsume ( ',' ) : tokenizer . TryConsume ( ';' )