%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/progmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/progmodes/opascal.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (custom-declare-group 'opascal nil "Major mode for editing OPascal source in Emacs." :version "24.4" :group 'languages) #@24 True if in debug mode. (defconst opascal-debug nil (#$ . 528)) (byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\210\310\302\311\312\313DD\314\315\316%\210\300\317\320\303#\210\304\211\203c \211@\317N\203\\ \320N\204\\ \305\320\317N#\210A\266\202\202B \210\306\317\320\307#\210\310\320\311\312\321DD\322\315\323%\210\300\324\325\303#\210\304\211\203\236 \211@\324N\203\227 \325N\204\227 \305\325\324N#\210A\266\202\202} \210\306\324\325\307#\210\310\325\311\312\326DD\327\315\323%\210\300\330\331\303#\210\304\211\203\331 \211@\330N\203\322 \331N\204\322 \305\331\330N#\210A\266\202\202\270 \210\306\330\331\307#\210\310\331\311\312\332DD\333\315\323%\210\300\334\335\303#\210\304\211\203\211@\334N\203 \335N\204 \305\335\334N#\210A\266\202\202\363 \210\306\334\335\307#\210\310\335\311\312\336DD\337\315\340%\210\300\341\342\303#\210\304\211\203O\211@\341N\203H\342N\204H\305\342\341N#\210A\266\202\202.\210\306\341\342\307#\210\310\342\311\312\343DD\344\315\340%\210\306\342\345\307#\207" [defvaralias delphi-search-path opascal-search-path nil (saved-value saved-variable-comment) put make-obsolete-variable "24.4" custom-declare-variable funcall function #[0 "\300\207" [#1="."] 1 #1#] "Directories to search when finding external units.\nIt is a list of directory strings. If only a single directory,\nit can be a single string instead of a list. If a directory\nends in \"...\" then that directory is recursively searched." :type string delphi-indent-level opascal-indent-level #[0 "\300\207" [3] 1] "Indentation of OPascal statements with respect to containing block.\nE.g.\n\nbegin\n // This is an indent of 3.\nend;" integer delphi-compound-block-indent opascal-compound-block-indent #[0 "\300\207" [0] 1] "Extra indentation for blocks in compound statements. E.g.\n\n// block indent = 0 vs // block indent = 2\nif b then if b then\nbegin begin\nend else begin end\nend; else\n begin\n end;" delphi-case-label-indent opascal-case-label-indent #[0 "\207" [opascal-indent-level] 1] "Extra indentation for case statement labels. E.g.\n\n// case indent = 0 vs // case indent = 3\ncase value of case value of\nv1: process_v1; v1: process_v1;\nv2: process_v2; v2: process_v2;\nelse else\n process_else; process_else;\nend; end;" delphi-verbose opascal-verbose #[0 "\300\207" [t] 1] "If true then OPascal token processing progress is reported to the user." boolean delphi-tab-always-indents opascal-tab-always-indents #[0 "\207" [tab-always-indent] 1] "Non-nil means `opascal-tab' should always reindent the current line.\nThat is, regardless of where in the line point is at the time." "use `indent-for-tab-command' and `tab-always-indent'."] 7) #@22 OPascal4 directives. (defconst opascal-directives '(absolute abstract assembler automated cdecl default dispid dynamic export external far forward index inline message name near nodefault overload override pascal private protected public published read readonly register reintroduce resident resourcestring safecall stdcall stored virtual write writeonly) (#$ . 3619)) #@20 OPascal4 keywords. (defconst opascal-keywords (append '(and array as asm at begin case class const constructor contains destructor dispinterface div do downto else end except exports file finalization finally for function goto if implementation implements in inherited initialization interface is label library mod nil not of object on or out package packed procedure program property raise record repeat requires result self set shl shr then threadvar to try type unit uses until var while with xor break exit) opascal-directives) (#$ . 3994)) #@69 Expression/statement terminators that denote a previous expression. (defconst opascal-previous-terminators '(semicolon comma) (#$ . 4545)) #@33 Tokens that represent comments. (defconst opascal-comments '(comment-single-line comment-multi-line-1 comment-multi-line-2) (#$ . 4690)) #@40 Tokens that are considered whitespace. (defconst opascal-whitespace (byte-code "\301\302BB\207" [opascal-comments space newline] 3) (#$ . 4833)) #@66 Marks the start of a routine, or routine-ish looking expression. (defconst opascal-routine-statements '(procedure function constructor destructor property) (#$ . 4985)) #@109 Statements that have either a single statement or a block as a body and also are followed by an expression. (defconst opascal-body-expr-statements '(if while for on) (#$ . 5161)) #@64 Expression statements contain expressions after their keyword. (defconst opascal-expr-statements (cons 'case opascal-body-expr-statements) (#$ . 5346)) #@70 Statements that have either a single statement or a block as a body. (defconst opascal-body-statements (cons 'else opascal-body-expr-statements) (#$ . 5504)) #@30 Expression delimiter tokens. (defconst opascal-expr-delimiters '(then do of) (#$ . 5668)) #@28 OPascal binary operations. (defconst opascal-binary-ops '(plus minus equals not-equals times divides div mod and or xor) (#$ . 5764)) #@21 Class visibilities. (defconst opascal-visibilities '(public private protected published automated) (#$ . 5904)) #@49 Statements that contain multiple substatements. (defconst opascal-block-statements '(begin try case repeat initialization finalization asm) (#$ . 6022)) #@59 Statements that mark mid sections of the enclosing block. (defconst opascal-mid-block-statements (byte-code "\301\302BB\207" [opascal-visibilities except finally] 3) (#$ . 6181)) #@37 Statements that end block sections. (defconst opascal-end-block-statements '(end until) (#$ . 6367)) #@60 Statements that match the indentation of the parent block. (defconst opascal-match-block-statements (append opascal-end-block-statements opascal-mid-block-statements) (#$ . 6474)) #@45 Denotes the start of a declaration section. (defconst opascal-decl-sections '(type const var label resourcestring) (#$ . 6660)) #@18 Interface types. (defconst opascal-interface-types '(dispinterface interface) (#$ . 6794)) #@14 Class types. (defconst opascal-class-types '(class object) (#$ . 6891)) #@46 Types that contain declarations within them. (defconst opascal-composite-types (append opascal-class-types opascal-interface-types '(record)) (#$ . 6969)) #@45 Unit sections within which the indent is 0. (defconst opascal-unit-sections '(interface implementation program library package) (#$ . 7130)) #@43 Statements that refer to foreign symbols. (defconst opascal-use-clauses '(uses requires exports contains) (#$ . 7277)) #@33 Statements indented at level 0. (defconst opascal-unit-statements (append opascal-use-clauses opascal-unit-sections '(initialization finalization)) (#$ . 7402)) #@60 Statements that a declaration statement should align with. (defconst opascal-decl-delimiters (append opascal-decl-sections opascal-unit-statements opascal-routine-statements) (#$ . 7569)) #@68 Statements that should match to declaration statement indentation. (defconst opascal-decl-matchers (cons 'begin opascal-decl-sections) (#$ . 7763)) #@34 Delimits an enclosing statement. (defconst opascal-enclosing-statements (append opascal-block-statements opascal-mid-block-statements opascal-decl-sections opascal-use-clauses opascal-routine-statements) (#$ . 7917)) #@32 Delimits a previous statement. (defconst opascal-previous-statements (append opascal-unit-statements opascal-routine-statements) (#$ . 8140)) #@42 Delimits a previous enclosing statement. (defconst opascal-previous-enclosing-statements (append opascal-block-statements opascal-mid-block-statements opascal-decl-sections) (#$ . 8288)) #@41 Tokens that a begin token indents from. (defconst opascal-begin-enclosing-tokens (append opascal-block-statements opascal-mid-block-statements) (#$ . 8481)) #@82 Tokens that a begin token aligns with, but only if not part of a nested routine. (defconst opascal-begin-previous-tokens (append opascal-decl-sections opascal-routine-statements) (#$ . 8644)) (defconst opascal-space-chars "