Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/devtools/shared/webconsole/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 858 B image not shown  

Quelle  GenerateReservedWordsJS.py

  Sprache: Python
 

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import buildconfig
import os
import sys

sys.path.append(os.path.join(buildconfig.topsrcdir, "js""src""frontend"))
import ReservedWordReader


def line(opt, s):
    opt["output"].write("{}\n".format(s))


def main(output, reserved_words_h, *args):
    reserved_word_list = ReservedWordReader.read_reserved_word_list(
        reserved_words_h, *args
    )

    opt = {"output": output}

    line(opt, "const JS_RESERVED_WORDS = [")
    for index, word in reserved_word_list:
        line(opt, '  "{}",'.format(word))
    line(opt, "];")
    line(opt, "module.exports = JS_RESERVED_WORDS;")


if __name__ == "__main__":
    main(sys.stdout, *sys.argv[1:])

Messung V0.5 in Prozent
C=98 H=91 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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.