Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

erl_comment_scan(3erl) [linux man page]

erl_comment_scan(3erl)					     Erlang Module Definition					    erl_comment_scan(3erl)

NAME
erl_comment_scan - Functions for reading comment lines from Erlang source code. DESCRIPTION
Functions for reading comment lines from Erlang source code. DATA TYPES
comment() = {integer(), integer(), integer(), [string()]} : EXPORTS
file(FileName::filename() (see module file)) -> [Comment] Types Comment = {Line, Column, Indentation, Text} Line = integer() Column = integer() Indentation = integer() Text = [string()] Extracts comments from an Erlang source code file. Returns a list of entries representing multi-line comments, listed in order of increasing line-numbers. For each entry, Text is a list of strings representing the consecutive comment lines in top-down order; the strings contain all characters following (but not including) the first comment-introducing % character on the line, up to (but not including) the line-terminating newline. Furthermore, Line is the line number and Column the left column of the comment (i.e., the column of the comment-introducing % char- acter). Indent is the indentation (or padding), measured in character positions between the last non-whitespace character before the comment (or the left margin), and the left column of the comment. Line and Column are always positive integers, and Indentation is a nonnegative integer. Evaluation exits with reason {read, Reason} if a read error occurred, where Reason is an atom corresponding to a Posix error code; see the module file(3erl) for details. join_lines(Lines::[CommentLine]) -> [Comment] Types CommentLine = {Line, Column, Indent, string()} Line = integer() Column = integer() Indent = integer() Comment = {Line, Column, Indent, Text} Text = [string()] Joins individual comment lines into multi-line comments. The input is a list of entries representing individual comment lines, in order of decreasing line-numbers ; see scan_lines/1 for details. The result is a list of entries representing multi-line comments, still listed in order of decreasing line-numbers , but where for each entry, Text is a list of consecutive comment lines in order of increasing line-numbers (i.e., top-down). See also: scan_lines/1 . scan_lines(Text::string()) -> [CommentLine] Types CommentLine = {Line, Column, Indent, Text} Line = integer() Column = integer() Indent = integer() Text = string() Extracts individual comment lines from a source code string. Returns a list of comment lines found in the text, listed in order of decreasing line-numbers, i.e., the last comment line in the input is first in the resulting list. Text is a single string, contain- ing all characters following (but not including) the first comment-introducing % character on the line, up to (but not including) the line-terminating newline. For details on Line , Column and Indent , see file/1 . string(Text::string()) -> [Comment] Types Comment = {Line, Column, Indentation, Text} Line = integer() Column = integer() Indentation = integer() Text = [string()] Extracts comments from a string containing Erlang source code. Except for reading directly from a string, the behaviour is the same as for file/1 . See also: file/1 . AUTHORS
Richard Carlsson <richardc@it.uu.se > syntax_tools 1.6.7 erl_comment_scan(3erl)

Check Out this Related Man Page

wxStatusBar(3erl)					     Erlang Module Definition						 wxStatusBar(3erl)

NAME
wxStatusBar - See external documentation: wxStatusBar. DESCRIPTION
See external documentation: wxStatusBar . This class is derived (and can use functions) from: wxWindow wxEvtHandler DATA TYPES
wxStatusBar() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxStatusBar() See external documentation . new(Parent::wxWindow() (see module wxWindow)) -> wxStatusBar() Equivalent to new(Parent, []) . new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxStatusBar() Types Option = {winid, integer()} | {style, integer()} See external documentation . create(This::wxStatusBar(), Parent::wxWindow() (see module wxWindow)) -> bool() Equivalent to create(This, Parent, []) . create(This::wxStatusBar(), Parent::wxWindow() (see module wxWindow), Options::[Option]) -> bool() Types Option = {winid, integer()} | {style, integer()} See external documentation . getFieldRect(This::wxStatusBar(), I::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() See external documentation . getFieldsCount(This::wxStatusBar()) -> integer() See external documentation . getStatusText(This::wxStatusBar()) -> string() Equivalent to getStatusText(This, []) . getStatusText(This::wxStatusBar(), Options::[Option]) -> string() Types Option = {number, integer()} See external documentation . popStatusText(This::wxStatusBar()) -> ok Equivalent to popStatusText(This, []) . popStatusText(This::wxStatusBar(), Options::[Option]) -> ok Types Option = {number, integer()} See external documentation . pushStatusText(This::wxStatusBar(), Text::string()) -> ok Equivalent to pushStatusText(This, Text, []) . pushStatusText(This::wxStatusBar(), Text::string(), Options::[Option]) -> ok Types Option = {number, integer()} See external documentation . setFieldsCount(This::wxStatusBar(), Number::integer()) -> ok Equivalent to setFieldsCount(This, Number, []) . setFieldsCount(This::wxStatusBar(), Number::integer(), Options::[Option]) -> ok Types Option = {widths, [integer()]} See external documentation . setMinHeight(This::wxStatusBar(), Height::integer()) -> ok See external documentation . setStatusText(This::wxStatusBar(), Text::string()) -> ok Equivalent to setStatusText(This, Text, []) . setStatusText(This::wxStatusBar(), Text::string(), Options::[Option]) -> ok Types Option = {number, integer()} See external documentation . setStatusWidths(This::wxStatusBar(), Widths_field::[integer()]) -> ok See external documentation . setStatusStyles(This::wxStatusBar(), Styles::[integer()]) -> ok See external documentation . destroy(This::wxStatusBar()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxStatusBar(3erl)
Man Page