Modifier and Type | Field and Description |
---|---|
Annotation |
annotation |
protected Definitions |
defs |
java.io.Writer |
out |
Project |
project |
java.lang.String |
urlPrefix |
Constructor and Description |
---|
JFlexXref() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendProject() |
protected java.lang.String |
getProjectPostfix() |
void |
setDefs(Definitions defs) |
protected void |
writeSymbol(java.lang.String symbol,
java.util.Set<java.lang.String> keywords,
int line)
Write a symbol and generate links as appropriate.
|
protected void |
writeUnicodeChar(char c)
Write HTML escape sequence for the specified Unicode character, unless
it's an ISO control character, in which case it is ignored.
|
public java.io.Writer out
public java.lang.String urlPrefix
public Annotation annotation
public Project project
protected Definitions defs
public void setDefs(Definitions defs)
protected void appendProject() throws java.io.IOException
java.io.IOException
protected java.lang.String getProjectPostfix()
protected void writeSymbol(java.lang.String symbol, java.util.Set<java.lang.String> keywords, int line) throws java.io.IOException
symbol
- the symbol to writekeywords
- a set of keywords recognized by this analyzer (no links
will be generated if the symbol is a keyword)line
- the line number on which the symbol appearsjava.io.IOException
- if an error occurs while writing to the streamprotected void writeUnicodeChar(char c) throws java.io.IOException
c
- the character to writejava.io.IOException
- if an error occurs while writing to the stream