Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  empty.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.

'''Container nodes that don't have any logic.
'''

from __future__ import print_function

from grit.node import base
from grit.node import include
from grit.node import message
from grit.node import misc
from grit.node import node_io
from grit.node import structure


class GroupingNode(base.Node):
  '''Base class for all the grouping elements (, ,
  <messages> and <identifiers>).'''
  def DefaultAttributes(self):
    return {
      'first_id' : '',
      'comment' : '',
      'fallback_to_english' : 'false',
      'fallback_to_low_resolution' : 'false',
    }


class IncludesNode(GroupingNode):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, (include.IncludeNode, misc.IfNode, misc.PartNode))


class MessagesNode(GroupingNode):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, (message.MessageNode, misc.IfNode, misc.PartNode))


class StructuresNode(GroupingNode):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, (structure.StructureNode,
                              misc.IfNode, misc.PartNode))


class TranslationsNode(base.Node):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, (node_io.FileNode, misc.IfNode, misc.PartNode))


class OutputsNode(base.Node):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, (node_io.OutputNode, misc.IfNode, misc.PartNode))


class IdentifiersNode(GroupingNode):
  '''The element.'''
  def _IsValidChild(self, child):
    return isinstance(child, misc.IdentifierNode)

Messung V0.5
C=93 H=98 G=95

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge