;; Copyright (C) 1997,1998,1999,2000,2001,2002,2003 Peter Milliken ;; ;; Author: Peter Milliken , ;; ;; ;; Keywords: language sensitive abbreviation template placeholder token ;; ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. DELETE LANGUAGE Python - DEFINE LANGUAGE Python - /INITIAL_STRING="{compilation_unit}" - /PUNCTUATION_CHARACTERS="*,()" - /SELF_INSERT_CHARACTERS=" `~!@#$%^&*(),.<>/?;:'[]{}=\-+|" /VALID_IDENTIFIER_CHARACTERS="#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789" /INDENT_SIZE=2 - /VERSION=1.10 - END DEFINE DELETE PLACEHOLDER FORMAL_PARAMETER_NAME - /LANGUAGE="Python" - DEFINE PLACEHOLDER FORMAL_PARAMETER_NAME - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid formal_parameter_name" END DEFINE DELETE PLACEHOLDER TRY_FIN_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER TRY_FIN_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "try:" " {statement}..." "finally:" " {statement}..." END DEFINE DELETE PLACEHOLDER TRY_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER TRY_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=MENU - "try_exc_stmt"/PLACEHOLDER "try_fin_stmt"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER "{EXPRESSION}... [, {IDENTIFIER}]" - /LANGUAGE="Python" - DEFINE PLACEHOLDER {EXPRESSION}... [, {IDENTIFIER}] - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{expression}... [, {identifier}]" END DEFINE DELETE PLACEHOLDER IMPORTS - /LANGUAGE="Python" - DEFINE PLACEHOLDER IMPORTS - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{import_stmt}..." END DEFINE DELETE PLACEHOLDER TEXT - /LANGUAGE="Python" - DEFINE PLACEHOLDER TEXT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=VERTICAL - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid text" END DEFINE DELETE PLACEHOLDER SUBLIST - /LANGUAGE="Python" - DEFINE PLACEHOLDER SUBLIST - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{parameter}..." END DEFINE DELETE PLACEHOLDER MODULE - /LANGUAGE="Python" - DEFINE PLACEHOLDER MODULE - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid module" END DEFINE DELETE PLACEHOLDER IF_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER IF_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "if {expression}:" " {statement}..." "[elif_part]..." "[else_part]" END DEFINE DELETE PLACEHOLDER CLASSNAME - /LANGUAGE="Python" - DEFINE PLACEHOLDER CLASSNAME - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - /PLACEHOLDER=IDENTIFIER - END DEFINE DELETE PLACEHOLDER TRY_EXC_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER TRY_EXC_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "try:" " {statement}..." "[except_part]..." "[else_part]" END DEFINE DELETE PLACEHOLDER RETURN_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER RETURN_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "return [expression]..." END DEFINE DELETE PLACEHOLDER "= {EXPRESSION}" - /LANGUAGE="Python" - DEFINE PLACEHOLDER = {EXPRESSION} - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "= {expression}" END DEFINE DELETE PLACEHOLDER ENCLOSURE - /LANGUAGE="Python" - DEFINE PLACEHOLDER ENCLOSURE - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=MENU - "parenth_form"/PLACEHOLDER "list_display"/PLACEHOLDER "dict_display"/PLACEHOLDER "string_conversion"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER DEFPARAMETER - /LANGUAGE="Python" - DEFINE PLACEHOLDER DEFPARAMETER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=MENU - "{parameter} [= {expression}]" "*{identifier}" "**{identifier}" END DEFINE DELETE PLACEHOLDER "{FORMAL_PARAMETER_NAME} =" - /LANGUAGE="Python" - DEFINE PLACEHOLDER {FORMAL_PARAMETER_NAME} = - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{formal_parameter_name} =" END DEFINE DELETE PLACEHOLDER BREAK_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER BREAK_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "break" END DEFINE DELETE PLACEHOLDER IMPORT_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER IMPORT_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=VERTICAL - /SEPARATOR="" - /TYPE=MENU - "import {module} [as {name}], [module_as_name]..." "from {module} import {identifier} [as {name}], [identifier_as_name]..." "from {module} import *" END DEFINE DELETE PLACEHOLDER COMMENT_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER COMMENT_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "# {text}" END DEFINE DELETE PLACEHOLDER FLOATNUMBER - /LANGUAGE="Python" - DEFINE PLACEHOLDER FLOATNUMBER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid floatnumber" END DEFINE DELETE PLACEHOLDER ELIF_PART - /LANGUAGE="Python" - DEFINE PLACEHOLDER ELIF_PART - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=VERTICAL - /SEPARATOR="" - /TYPE=NONTERMINAL - "elif {expression}:" " {statement}..." END DEFINE DELETE PLACEHOLDER CONTINUE_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER CONTINUE_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "continue" END DEFINE DELETE PLACEHOLDER EXCEPT_PART - /LANGUAGE="Python" - DEFINE PLACEHOLDER EXCEPT_PART - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=VERTICAL - /SEPARATOR="" - /TYPE=NONTERMINAL - "except [exception_arguments]:" " {statement}..." END DEFINE DELETE PLACEHOLDER NAME - /LANGUAGE="Python" - DEFINE PLACEHOLDER NAME - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid name" END DEFINE DELETE PLACEHOLDER PRINT_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER PRINT_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "print [expression]..." END DEFINE DELETE PLACEHOLDER LITERAL - /LANGUAGE="Python" - DEFINE PLACEHOLDER LITERAL - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=MENU - "stringliteral"/PLACEHOLDER "integer"/PLACEHOLDER "longinteger"/PLACEHOLDER "floatnumber"/PLACEHOLDER "imagnumber"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER ASSIGNMENT_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER ASSIGNMENT_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{target} = {expression}..." END DEFINE DELETE PLACEHOLDER EXPRESSION_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER EXPRESSION_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{expression}..." END DEFINE DELETE PLACEHOLDER ARGUMENT_LIST - /LANGUAGE="Python" - DEFINE PLACEHOLDER ARGUMENT_LIST - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{parameter_association}..." END DEFINE DELETE PLACEHOLDER STATEMENT - /LANGUAGE="Python" - DEFINE PLACEHOLDER STATEMENT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=VERTICAL - /SEPARATOR="" - /TYPE=MENU - "if_stmt"/PLACEHOLDER "while_stmt"/PLACEHOLDER "for_stmt"/PLACEHOLDER "try_stmt"/PLACEHOLDER "funcdef"/PLACEHOLDER "classdef"/PLACEHOLDER "call_stmt"/PLACEHOLDER "expression_stmt"/PLACEHOLDER "assert_stmt"/PLACEHOLDER "assignment_stmt"/PLACEHOLDER "pass_stmt"/PLACEHOLDER "del_stmt"/PLACEHOLDER "print_stmt"/PLACEHOLDER "return_stmt"/PLACEHOLDER "yield_stmt"/PLACEHOLDER "raise_stmt"/PLACEHOLDER "break_stmt"/PLACEHOLDER "continue_stmt"/PLACEHOLDER "import_stmt"/PLACEHOLDER "global_stmt"/PLACEHOLDER "exec_stmt"/PLACEHOLDER "comment_stmt"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER STRING_CONVERSION - /LANGUAGE="Python" - DEFINE PLACEHOLDER STRING_CONVERSION - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid string_conversion" END DEFINE DELETE PLACEHOLDER SUBSCRIPTION - /LANGUAGE="Python" - DEFINE PLACEHOLDER SUBSCRIPTION - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid subscription" END DEFINE DELETE PLACEHOLDER PARAMETER - /LANGUAGE="Python" - DEFINE PLACEHOLDER PARAMETER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=MENU - "identifier"/PLACEHOLDER "({sublist})" END DEFINE DELETE PLACEHOLDER IMAGNUMBER - /LANGUAGE="Python" - DEFINE PLACEHOLDER IMAGNUMBER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid imagnumber" END DEFINE DELETE PLACEHOLDER EXEC_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER EXEC_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "exec {expression} [in {expression}...]" END DEFINE DELETE PLACEHOLDER PARAMETER_ASSOCIATION - /LANGUAGE="Python" - DEFINE PLACEHOLDER PARAMETER_ASSOCIATION - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=NONTERMINAL - "[{formal_parameter_name} =] {expression}" END DEFINE DELETE PLACEHOLDER ATTRIBUTEREF - /LANGUAGE="Python" - DEFINE PLACEHOLDER ATTRIBUTEREF - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid attributeref" END DEFINE DELETE PLACEHOLDER LONGINTEGER - /LANGUAGE="Python" - DEFINE PLACEHOLDER LONGINTEGER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid longinteger" END DEFINE DELETE PLACEHOLDER PARENTH_FORM - /LANGUAGE="Python" - DEFINE PLACEHOLDER PARENTH_FORM - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "([expression]...)" END DEFINE DELETE PLACEHOLDER CALL_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER CALL_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{primary} [parameter_list]" END DEFINE DELETE PLACEHOLDER IDENTIFIER_AS_NAME - /LANGUAGE="Python" - DEFINE PLACEHOLDER IDENTIFIER_AS_NAME - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=HORIZONTAL - /SEPARATOR=", " - /TYPE=NONTERMINAL - "{identifier} [as {name}]" END DEFINE DELETE PLACEHOLDER CLASSDEF - /LANGUAGE="Python" - DEFINE PLACEHOLDER CLASSDEF - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "class {classname}[inheritance]:" " {statement}..." END DEFINE DELETE PLACEHOLDER COMPILATION_UNIT - /LANGUAGE="Python" - DEFINE PLACEHOLDER COMPILATION_UNIT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "[import_stmt]..." "{statement}..." END DEFINE DELETE PLACEHOLDER PRIMARY - /LANGUAGE="Python" - DEFINE PLACEHOLDER PRIMARY - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid primary" END DEFINE DELETE PLACEHOLDER ELSE_PART - /LANGUAGE="Python" - DEFINE PLACEHOLDER ELSE_PART - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "else:" " {statement}..." END DEFINE DELETE PLACEHOLDER TARGET_LIST - /LANGUAGE="Python" - DEFINE PLACEHOLDER TARGET_LIST - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "{target}..." END DEFINE DELETE PLACEHOLDER FOR_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER FOR_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "for {target_list} in {expression}...:" " {statement}..." "[else_part]" END DEFINE DELETE PLACEHOLDER "IN {EXPRESSION}..." - /LANGUAGE="Python" - DEFINE PLACEHOLDER IN {EXPRESSION}... - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "in {expression}..." END DEFINE DELETE PLACEHOLDER "AS {NAME}" - /LANGUAGE="Python" - DEFINE PLACEHOLDER AS {NAME} - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "as {name}" END DEFINE DELETE PLACEHOLDER ATOM - /LANGUAGE="Python" - DEFINE PLACEHOLDER ATOM - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=MENU - "identifier"/PLACEHOLDER "literal"/PLACEHOLDER "enclosure"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER FUNCDEF - /LANGUAGE="Python" - DEFINE PLACEHOLDER FUNCDEF - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "def {identifier}([defparameter]...):" " [document_string]" " {statement}..." END DEFINE DELETE PLACEHOLDER INTEGER - /LANGUAGE="Python" - DEFINE PLACEHOLDER INTEGER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid integer" END DEFINE DELETE PLACEHOLDER RAISE_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER RAISE_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "raise [expression]..." END DEFINE DELETE PLACEHOLDER PASS_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER PASS_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "pass" END DEFINE DELETE PLACEHOLDER ASSERT_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER ASSERT_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "assert {expression}..." END DEFINE DELETE PLACEHOLDER DICT_DISPLAY - /LANGUAGE="Python" - DEFINE PLACEHOLDER DICT_DISPLAY - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid dict_display" END DEFINE DELETE PLACEHOLDER TARGET - /LANGUAGE="Python" - DEFINE PLACEHOLDER TARGET - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=MENU - "identifier"/PLACEHOLDER "({target_list})" "[{target_list}]" "attributeref"/PLACEHOLDER "subscription"/PLACEHOLDER "slicing"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER PARAMETER_LIST - /LANGUAGE="Python" - DEFINE PLACEHOLDER PARAMETER_LIST - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "({argument_list})" END DEFINE DELETE PLACEHOLDER GLOBAL_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER GLOBAL_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "global {identifier}..." END DEFINE DELETE PLACEHOLDER ", {IDENTIFIER}" - /LANGUAGE="Python" - DEFINE PLACEHOLDER , {IDENTIFIER} - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - ", {identifier}" END DEFINE DELETE PLACEHOLDER LIST_DISPLAY - /LANGUAGE="Python" - DEFINE PLACEHOLDER LIST_DISPLAY - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "[[expression]...]" END DEFINE DELETE PLACEHOLDER STRINGLITERAL - /LANGUAGE="Python" - DEFINE PLACEHOLDER STRINGLITERAL - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid stringliteral" END DEFINE DELETE PLACEHOLDER DEL_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER DEL_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "del {target}..." END DEFINE DELETE PLACEHOLDER WHILE_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER WHILE_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "while {expression}:" " {statement}..." "[else_part]" END DEFINE DELETE PLACEHOLDER LAMBDA_FORM - /LANGUAGE="Python" - DEFINE PLACEHOLDER LAMBDA_FORM - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid lambda_form" END DEFINE DELETE PLACEHOLDER INHERITANCE - /LANGUAGE="Python" - DEFINE PLACEHOLDER INHERITANCE - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "([expression]...)" END DEFINE DELETE PLACEHOLDER EXCEPTION_ARGUMENTS - /LANGUAGE="Python" - DEFINE PLACEHOLDER EXCEPTION_ARGUMENTS - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "[{expression}... [, {identifier}]]" END DEFINE DELETE PLACEHOLDER DOCUMENT_STRING - /LANGUAGE="Python" - DEFINE PLACEHOLDER DOCUMENT_STRING - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - """"{text}..."""" END DEFINE DELETE PLACEHOLDER MODULE_AS_NAME - /LANGUAGE="Python" - DEFINE PLACEHOLDER MODULE_AS_NAME - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=HORIZONTAL - /SEPARATOR=", " - /TYPE=NONTERMINAL - "{module} [as {name}]" END DEFINE DELETE PLACEHOLDER SLICING - /LANGUAGE="Python" - DEFINE PLACEHOLDER SLICING - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid slicing" END DEFINE DELETE PLACEHOLDER IDENTIFIER - /LANGUAGE="Python" - DEFINE PLACEHOLDER IDENTIFIER - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=TERMINAL - ""Please enter a valid Python identifier."" END DEFINE DELETE PLACEHOLDER EXPRESSION - /LANGUAGE="Python" - DEFINE PLACEHOLDER EXPRESSION - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR=", " - /TYPE=MENU - "or_test"/PLACEHOLDER "lambda_form"/PLACEHOLDER END DEFINE DELETE PLACEHOLDER YIELD_STMT - /LANGUAGE="Python" - DEFINE PLACEHOLDER YIELD_STMT - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=NONTERMINAL - "yield [expression]..." END DEFINE DELETE PLACEHOLDER OR_TEST - /LANGUAGE="Python" - DEFINE PLACEHOLDER OR_TEST - /LANGUAGE="Python" - /NOAUTO_SUBSTITUTE - /DESCRIPTION="" - /DUPLICATION=CONTEXT_DEPENDENT - /SEPARATOR="" - /TYPE=TERMINAL - "Please enter a valid or_test" END DEFINE The following tokens are generated automatically: DELETE TOKEN ELIF - /LANGUAGE="Python" - DEFINE TOKEN ELIF - /LANGUAGE="Python" - /PLACEHOLDER=ELIF_PART - END DEFINE DELETE TOKEN RETURN - /LANGUAGE="Python" - DEFINE TOKEN RETURN - /LANGUAGE="Python" - /PLACEHOLDER=RETURN_STMT - END DEFINE DELETE TOKEN EXEC - /LANGUAGE="Python" - DEFINE TOKEN EXEC - /LANGUAGE="Python" - /PLACEHOLDER=EXEC_STMT - END DEFINE DELETE TOKEN GLOBAL - /LANGUAGE="Python" - DEFINE TOKEN GLOBAL - /LANGUAGE="Python" - /PLACEHOLDER=GLOBAL_STMT - END DEFINE DELETE TOKEN ELSE - /LANGUAGE="Python" - DEFINE TOKEN ELSE - /LANGUAGE="Python" - /PLACEHOLDER=ELSE_PART - END DEFINE DELETE TOKEN BREAK - /LANGUAGE="Python" - DEFINE TOKEN BREAK - /LANGUAGE="Python" - /PLACEHOLDER=BREAK_STMT - END DEFINE DELETE TOKEN PASS - /LANGUAGE="Python" - DEFINE TOKEN PASS - /LANGUAGE="Python" - /PLACEHOLDER=PASS_STMT - END DEFINE DELETE TOKEN CLASS - /LANGUAGE="Python" - DEFINE TOKEN CLASS - /LANGUAGE="Python" - /PLACEHOLDER=CLASSDEF - END DEFINE DELETE TOKEN IF - /LANGUAGE="Python" - DEFINE TOKEN IF - /LANGUAGE="Python" - /PLACEHOLDER=IF_STMT - END DEFINE DELETE TOKEN ASSERT - /LANGUAGE="Python" - DEFINE TOKEN ASSERT - /LANGUAGE="Python" - /PLACEHOLDER=ASSERT_STMT - END DEFINE DELETE TOKEN # - /LANGUAGE="Python" - DEFINE TOKEN # - /LANGUAGE="Python" - /PLACEHOLDER=COMMENT_STMT - END DEFINE DELETE TOKEN RAISE - /LANGUAGE="Python" - DEFINE TOKEN RAISE - /LANGUAGE="Python" - /PLACEHOLDER=RAISE_STMT - END DEFINE DELETE TOKEN FOR - /LANGUAGE="Python" - DEFINE TOKEN FOR - /LANGUAGE="Python" - /PLACEHOLDER=FOR_STMT - END DEFINE DELETE TOKEN EXCEPT - /LANGUAGE="Python" - DEFINE TOKEN EXCEPT - /LANGUAGE="Python" - /PLACEHOLDER=EXCEPT_PART - END DEFINE DELETE TOKEN YIELD - /LANGUAGE="Python" - DEFINE TOKEN YIELD - /LANGUAGE="Python" - /PLACEHOLDER=YIELD_STMT - END DEFINE DELETE TOKEN TRY - /LANGUAGE="Python" - DEFINE TOKEN TRY - /LANGUAGE="Python" - /PLACEHOLDER=TRY_EXC_STMT - END DEFINE DELETE TOKEN WHILE - /LANGUAGE="Python" - DEFINE TOKEN WHILE - /LANGUAGE="Python" - /PLACEHOLDER=WHILE_STMT - END DEFINE DELETE TOKEN CONTINUE - /LANGUAGE="Python" - DEFINE TOKEN CONTINUE - /LANGUAGE="Python" - /PLACEHOLDER=CONTINUE_STMT - END DEFINE DELETE TOKEN DEL - /LANGUAGE="Python" - DEFINE TOKEN DEL - /LANGUAGE="Python" - /PLACEHOLDER=DEL_STMT - END DEFINE DELETE TOKEN PRINT - /LANGUAGE="Python" - DEFINE TOKEN PRINT - /LANGUAGE="Python" - /PLACEHOLDER=PRINT_STMT - END DEFINE DELETE TOKEN IMPORT - /LANGUAGE="Python" - DEFINE TOKEN IMPORT - /LANGUAGE="Python" - /PLACEHOLDER=IMPORT_STMT - END DEFINE DELETE TOKEN DEF - /LANGUAGE="Python" - DEFINE TOKEN DEF - /LANGUAGE="Python" - /PLACEHOLDER=FUNCDEF - END DEFINE