Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Line Struct Reference

< structure representing a lexed line. More...

#include <tag.h>

Inheritance diagram for Line::

SimpleLine List of all members.

Public Methods

 Line ()
 Line (std::string directory, std::string file_name, std::string tag, std::string tag_type, int line_number=-1, int cursor_pos=-1)
 Line (std::string &directory, std::string &file_name, std::string &tag, std::string &tag_type, int line_number=-1, int cursor_pos=-1)
 Line ()
 Line (std::string directory, std::string file_name, std::string tag, std::string tag_type, int line_number=-1, int cursor_pos=-1)
 Line (std::string &directory, std::string &file_name, std::string &tag, std::string &tag_type, int line_number=-1, int cursor_pos=-1)

Public Attributes

std::string directory
std::string file_name
std::string tag
 the tag. More...

std::string orig_tag
 set if the tag has to be rebuilt. More...

std::string tag_type
 something like "image". More...

int line_number
int cursor_pos
std::string line

Detailed Description

< structure representing a lexed line.


Constructor & Destructor Documentation

Line::Line   [inline]
 

Line::Line std::string    directory,
std::string    file_name,
std::string    tag,
std::string    tag_type,
int    line_number = -1,
int    cursor_pos = -1
[inline]
 

Line::Line std::string &    directory,
std::string &    file_name,
std::string &    tag,
std::string &    tag_type,
int    line_number = -1,
int    cursor_pos = -1
[inline]
 

Line::Line   [inline]
 

Line::Line std::string    directory,
std::string    file_name,
std::string    tag,
std::string    tag_type,
int    line_number = -1,
int    cursor_pos = -1
[inline]
 

Line::Line std::string &    directory,
std::string &    file_name,
std::string &    tag,
std::string &    tag_type,
int    line_number = -1,
int    cursor_pos = -1
[inline]
 


Member Data Documentation

int Line::cursor_pos
 

std::string Line::directory
 

std::string Line::file_name
 

std::string Line::line
 

the whole line (including the linennumber and cursor pos

int Line::line_number
 

std::string Line::orig_tag
 

set if the tag has to be rebuilt.

std::string Line::tag
 

the tag.

std::string Line::tag_type
 

something like "image".

it is very important always to specify the tag type, since the lexer should do this. If the line has varoius tags, write it into an file, include it by using the include tag: <include file="foo.html"> and run an include scan over the whole file, or use Precompiler::include_at_line().

The tag type of a close tag looks like this "/delete" for the </delete> tag.


The documentation for this struct was generated from the following files:
Generated on Tue Nov 20 02:19:54 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001