Encapsulation of a link fragment. Links can be of several types, such as start, end, or some other formatting type. They are split into start and end so that spans can be nested properly
Public Typedefs Summary: | |
std::vector<std::string> | Name A scoped name type [Source] |
std::set<Link*, lt_col> | Line Set of links sorted by column [Source] |
std::map<int, Line> | Map Map of Lines keyed by line number [Source] |
Public Structs Summary: | |
lt_col Less-than functor that compares column and type [Source] |
Public Enums Summary: | |
Type | LINK_START, REF_START, SPAN_START, SPAN_END, REF_END, LINK_END Enumeration of the type of link. [Source] |
Public Member functions Summary: | |
std::ostream& | write(std::ostream& o) Write link to the output stream for debuggingDebugging output method for Links [Source] |
Public Data members Summary: | |
int | line The line and column of the link [Source] |
int | col [Source] |
Type | type The type of this link [Source] |
Name | name The scoped name of this link [Source] |
std::string | desc The description of this link [Source] |
Public Enum Details: |
< Start of a label link
< Start of reference link
Enumeration of the type of link. These should be in order of priority, so nested types should be nested in this list: foo means enum ordering: A_START,B_START,B_END,A_END