parameters: (self)
docstring: Internal version of Parse() that doesn't check for trailing stuff.
docstring_summary: Internal version of Parse() that doesn't check for trailing stuff.
docstring_tokens: Internal version of Parse () that doesn t check for trailing stuff .
function: def _ParseAllowTrailing(self):
      """Internal version of Parse() that doesn't check for trailing stuff."""
      self.ConsumeCommentAndWhitespace()
      if self.IsDone():
        raise GNError("Expected input to parse.")
  
      next_char = self.input[self.cur]
      if next_char == '[':
        return self.ParseList()
      elif next_char == '{':
        return self.ParseScope()
      elif _IsDigitOrMinus(next_char):
        return self.ParseNumber()
      elif next_char == '"':
        return self.ParseString()
      elif self._ConstantFollows('true'):
        return True
      elif self._ConstantFollows('false'):
        return False
      else:
        raise GNError("Unexpected token: " + self.input[self.cur:])
function_tokens: def _ParseAllowTrailing ( self ) : self . ConsumeCommentAndWhitespace ( ) if self . IsDone ( ) : raise GNError ( "Expected input to parse." ) next_char = self . input [ self . cur ] if next_char == '[' : return self . ParseList ( ) elif next_char == '{' : return self . ParseScope ( ) elif _IsDigitOrMinus ( next_char ) : return self . ParseNumber ( ) elif next_char == '"' : return self . ParseString ( ) elif self . _ConstantFollows ( 'true' ) : return True elif self . _ConstantFollows ( 'false' ) : return False else : raise GNError ( "Unexpected token: " + self . input [ self . cur : ] )