Function: semantic-simple-lexer

semantic-simple-lexer is a byte-compiled function defined in lex.el.gz.

Signature

(semantic-simple-lexer START END &optional DEPTH LENGTH)

Documentation

A simple lexical analyzer that handles simple buffers.

This lexer ignores comments and whitespace, and will return syntax as specified by the syntax table. See semantic-lex for more information.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
;;; Test Lexer
;;
(define-lex semantic-simple-lexer
  "A simple lexical analyzer that handles simple buffers.
This lexer ignores comments and whitespace, and will return
syntax as specified by the syntax table."
  semantic-lex-ignore-whitespace
  semantic-lex-ignore-newline
  semantic-lex-number
  semantic-lex-symbol-or-keyword
  semantic-lex-charquote
  semantic-lex-paren-or-list
  semantic-lex-close-paren
  semantic-lex-string
  semantic-lex-ignore-comments
  semantic-lex-punctuation
  semantic-lex-default-action)