ThirdParty/Jasy/jasy/js/tokenize/Lang.py

Tue, 09 Jul 2013 19:30:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 09 Jul 2013 19:30:56 +0200
changeset 2779
4d433896b6d6
child 2847
1843ef6e2656
permissions
-rw-r--r--

Added a JavaScript parser to the file browser in order to show the structure of JavaScript files

#
# Jasy - Web Tooling Framework
# Copyright 2010-2012 Zynga Inc.
#

"""JavaScript 1.7 keywords"""
keywords = set([
    "break",
    "case", "catch", "const", "continue",
    "debugger", "default", "delete", "do",
    "else",
    "false", "finally", "for", "function",
    "if", "in", "instanceof",
    "let",
    "new", "null",
    "return",
    "switch",
    "this", "throw", "true", "try", "typeof",
    "var", "void",
    "yield",
    "while", "with"
])

eric ide

mercurial