|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ctags.TagEntry
Simple class that contains information about a specific tag. This class is public domain.
| Field Summary | |
java.util.ArrayList |
fieldList
List of key-value pairs. |
java.lang.String |
file
Path of source file containing the definition of this tag. |
boolean |
fileScope
Whether this tag is of file-limited scope. |
java.lang.String |
kind
Kind of tag (may be name, character, or null if not known). |
long |
lineNumber
Line number in source file of tag definition (may be zero if not known). |
java.lang.String |
name
The name of this tag entry. |
java.lang.String |
pattern
Pattern for locating source line (may be null if not present). |
| Constructor Summary | |
TagEntry()
Creates a new TagEntry. |
|
TagEntry(java.lang.String line)
Creates a new TagEntry based on the passed-in ctag
file line. |
|
| Method Summary | |
java.lang.String |
getPlainTextPattern()
Returns a "plain text" version of pattern - that is, with
escaped characters un-escaped, and without a leading "/^" or trailing
"$/". |
void |
parseTagLine(java.lang.String line)
Parses a line from a ctag file and populates this tag entry with appropriate values. |
java.lang.String |
toString()
Writes this tag entry as a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String name
public java.lang.String file
public java.lang.String pattern
getPlainTextPattern()public long lineNumber
public java.lang.String kind
public boolean fileScope
public java.util.ArrayList fieldList
| Constructor Detail |
public TagEntry()
TagEntry.
public TagEntry(java.lang.String line)
TagEntry based on the passed-in ctag
file line.
line - A line from a ctag file on which to create this tag
entry.| Method Detail |
public java.lang.String getPlainTextPattern()
pattern - that is, with
escaped characters un-escaped, and without a leading "/^" or trailing
"$/".
pattern as plain text, or null if
there is no pattern (in which case, use lineNumber).public void parseTagLine(java.lang.String line)
line - A line from a ctag file.public java.lang.String toString()
TagEntry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||