Function: semantic-grammar-lexer
semantic-grammar-lexer is a byte-compiled function defined in
grammar.el.gz.
Signature
(semantic-grammar-lexer START END &optional DEPTH LENGTH)
Documentation
Lexical analyzer that handles Semantic grammar buffers.
It ignores whitespaces, newlines and comments.
See semantic-lex for more information.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(define-lex semantic-grammar-lexer
"Lexical analyzer that handles Semantic grammar buffers.
It ignores whitespaces, newlines and comments."
semantic-lex-ignore-newline
semantic-lex-ignore-whitespace
;; Must detect prologue/epilogue before other symbols/keywords!
semantic-grammar-lex-prologue
semantic-grammar-lex-epilogue
semantic-grammar-wy--<keyword>-keyword-analyzer
semantic-grammar-wy--<symbol>-regexp-analyzer
semantic-grammar-wy--<char>-regexp-analyzer
semantic-grammar-wy--<string>-sexp-analyzer
;; Must detect comments after strings because `comment-start-skip'
;; regexp match semicolons inside strings!
semantic-lex-ignore-comments
;; Must detect prefixed list before punctuation because prefix chars
;; are also punctuation!
semantic-grammar-wy--<qlist>-sexp-analyzer
;; Must detect punctuation after comments because the semicolon can
;; be punctuation or a comment start!
semantic-grammar-wy--<punctuation>-string-analyzer
semantic-grammar-wy--<block>-block-analyzer
semantic-grammar-wy--<sexp>-sexp-analyzer)