Variable: antlr-rule-postlude-skip-alist--const

antlr-rule-postlude-skip-alist--const is a variable defined in antlr-mode.el.gz.

Value

(("exception" 1 . t) ("import" antlr-skip-import-statement)
 ("options" 2) ("tokens" 2) ("finally" 2) ("channels" 2) ("catch" 3)
 ("scope" 3))

Documentation

Constant for antlr-rule-postlude-skip-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
;;;===========================================================================
;;;  Parse grammar files (internal functions)
;;;===========================================================================

;; --- simplified v2 grammar -------------------------------------------------
;; file: ("header" STRING? ACTION)? OPTIONS? ACTION? class*
;; class: "class" ID     // moved preamble action to file rule
;;        ("extends" ("Lexer"|"Parser"|"TreeParser") ID?)?  ";"
;;        OPTIONS? TOKENS? ACTION? rule*
;; rule: ("protected"|"public"|"private")? ID "!"?
;;       (ARGS)? ('returns' ARGS)? ('throws' IDs )? OPTIONS? ACTION?
;;       ":" alts ";" ("exception" ARGS? ("catch" ARGS ACTION)* )*

;; --- simplified v3/v4 grammar ----------------------------------------------
;; grammar: ('lexer'|'parser'|'tree')? 'grammar' id ';'
;;          < OPTIONS? TOKENS? (grammar3only|grammar4only) action* >
;;          rule* ('mode' ID ';' rule* )*          // lexer MODE is v4 only
;; grammar3only: ('scope' id ACTION)*              // strict sequence in <...>
;; grammar4only: ('import' IDs ';')? ('channels' ACTION)? // any sequence in <...>
;; action: '@' (ID '::')? ID ACTION
;; rule: ('protected'|'public'|'private'|'fragment')? ID '!'?
;;       (ARGS)? ('returns' ARGS)? ('throws' IDs )? ('locals' ARGS)?
;;       < OPTIONS? scope3only action* >
;;       ':' alts ';' ('catch' ARGS ACTION)* ('finally' ACTION)?
;; scope3only: ('scope' ACTION)? ('scope' IDs ';' )?

(eval-and-compile
  (defconst antlr-rule-postlude-skip-alist--const ; const for eval-when-compile safety
    '(("exception" 1 . t) ("import" antlr-skip-import-statement)
      ("options" 2) ("tokens" 2) ("finally" 2) ("channels" 2)
      ("catch" 3) ("scope" 3))
    "Constant for `antlr-rule-postlude-skip-alist'."))