Understand::Lexer class

The Lexer class provides several methods that return objects of class Understand::Lexeme. A lexeme is the smallest unit of language in a source file that has a meaning. For example, a comment, a string, a keyword, or an operator.

The $ent->lexer() method returns an object of the Understand::Lexer class. A lexer object contains all the lexemes for the specified entity.

Using a lexeme and the methods of the Understand::Lexeme class, you can find information about individual lexemes.


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