Function: semantic-comment-lexer

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

Signature

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

Documentation

A simple lexical analyzer that handles comments.

This lexer will only return comment tokens. It is the default lexer used by semantic-doc-snarf-comment-for-tag to snarf up the comment at point. See semantic-lex for more information.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
;;; Comment lexer
;;
;; Predefined lexers that could be used instead of creating new
;; analyzers.

(define-lex semantic-comment-lexer
  "A simple lexical analyzer that handles comments.
This lexer will only return comment tokens.  It is the default
lexer used by `semantic-doc-snarf-comment-for-tag' to snarf up
the comment at point."
  semantic-lex-ignore-whitespace
  semantic-lex-ignore-newline
  semantic-lex-comments
  semantic-lex-default-action)