Function: wisent-python-lexer
wisent-python-lexer is a byte-compiled function defined in
python.el.gz.
Signature
(wisent-python-lexer START END &optional DEPTH LENGTH)
Documentation
Lexical Analyzer for Python code.
See semantic-lex for more information.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
(define-lex wisent-python-lexer
"Lexical Analyzer for Python code."
;; Must analyze beginning of line first to handle indentation.
wisent-python-lex-beginning-of-line
wisent-python-lex-end-of-line
;; Must analyze string before symbol to handle string prefix.
wisent-python-lex-string
;; Analyzers auto-generated from grammar.
wisent-python-wy--<number>-regexp-analyzer
wisent-python-wy--<keyword>-keyword-analyzer
wisent-python-wy--<symbol>-regexp-analyzer
wisent-python-wy--<block>-block-analyzer
wisent-python-wy--<punctuation>-string-analyzer
;; Ignored things.
wisent-python-lex-ignore-backslash
semantic-lex-ignore-whitespace
semantic-lex-ignore-comments
;; Signal error on unhandled syntax.
semantic-lex-default-action)