This module provides an abstract type that is used by the
Erlang Compiler and its helper modules for holding data such as
column, line number, and text. The data type is a collection of
The Erlang Token Scanner returns tokens with a subset of the following annotations, depending on the options:
The column where the token begins.
The line and column where the token begins, or just the line if the column is unknown.
The token's text.
From this, the following annotation is derived:
The line where the token begins.
This module also supports the following annotations, which are used by various modules:
A filename.
A Boolean indicating if the abstract code is compiler-generated. The Erlang Compiler does not emit warnings for such code.
A Boolean indicating if the origin of the abstract
code is a record. Used by
The functions
The functions
A collection of annotations.
The term representing a collection of annotations. It is
either a
Returns the column of the annotations
Returns the end location of the text of the
annotations
Returns the filename of the annotations
Returns annotations with representation
See also
Returns
Returns
Returns the line of the annotations
Returns the location of the annotations
Creates a new collection of annotations given a location.
Modifies the filename of the annotations
Modifies the generated marker of the annotations
Modifies the line of the annotations
Modifies the location of the annotations
Modifies the record marker of the annotations
Modifies the text of the annotations
Returns the text of the annotations
Returns the term representing the annotations
See also