$ent->lexer()

Syntax

$ent->lexer() 

Description

Returns a lexer object of the Understand::Lexer class for the specified file entity. The original source file must be readable and unchanged since the last database parse.

Return Values

If called in an array context, this method returns ($lexer, $status). If no error occurs, $status is undef. Otherwise, $status is:

Return Values
Description
FileModified
The file has been modified since the last parse.
FileUnreadable
The file is not readable at the original location.


Scientific Toolworks, Inc.
http://www.scitools.com