(emacs)Tag Syntax

Next: Create Tag Table Up: Tags

Source File Tag Syntax

   In Lisp code, any function defined with `defun', any variable
defined with `defvar' or `defconst', and in general the first argument
of any expression that starts with `(def' in column zero, is a tag.

   In Scheme code, tags include anything defined with `def' or with a
construct whose name starts with `def'.  They also include variables
set with `set!' at top level in the file.

   In C code, any C function is a tag, and so is any typedef if `-t' is
specified when the tag table is constructed.

   In Yacc or Bison input files, each rule defines as a tag the
nonterminal it constructs.  The portions of the file that contain C code
are parsed as C code.

   In Fortran code, functions and subroutines are tags.

   In Prolog code, a tag name appears at the left margin.

   In assembler code, labels appearing at the beginning of a line,
followed by a colon, are tags.

   In LaTeX text, the argument of any of the commands `\chapter',
`\section', `\subsection', `\subsubsection', `\eqno', `\label', `\ref',
`\cite', `\bibitem' and `\typeout' is a tag.

automatically generated by info2www