Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/libwebrtc/tools/grit/grit/node/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  variant.py

  Sprache: Python
 

# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

'''The <skeleton> element.
'''

from __future__ import print_function

from grit.node import base


class SkeletonNode(base.Node):
  '''A <skeleton> element.'''

  # TODO(joi) Support inline skeleton variants as CDATA instead of requiring
  # a 'file' attribute.

  def MandatoryAttributes(self):
    return ['expr''variant_of_revision''file']

  def DefaultAttributes(self):
    '''If not specified, 'encoding' will actually default to the parent node's
    encoding.
    '''
    return {'encoding' : ''}

  def _ContentType(self):
    if 'file' in self.attrs:
      return self._CONTENT_TYPE_NONE
    else:
      return self._CONTENT_TYPE_CDATA

  def GetEncodingToUse(self):
    if self.attrs['encoding'] == '':
      return self.parent.attrs['encoding']
    else:
      return self.attrs['encoding']

  def GetInputPath(self):
    return self.attrs['file']

Messung V0.5 in Prozent
C=94 H=97 G=95

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-11) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.