| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private Map | |
| private File | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | addSemanticStyles(NBinding
the binding's main definition node nb)Add additional highlighting styles based on information not evident from the AST. |
| public void | |
| public List | |
| private void | |
| pack-priv void | |
| private void | |
| private List | |
| private String | |
| private String |
| CONSTANT | back to summary |
|---|---|
| private static final Pattern CONSTANT | |
| fileStyles | back to summary |
|---|---|
| private Map<String, List<StyleRun>> fileStyles | |
| outDir | back to summary |
|---|---|
| private File outDir | |
| rootPath | back to summary |
|---|---|
| private String rootPath | |
| Linker | back to summary |
|---|---|
| public Linker(String root, File outdir) Constructor. | |
| addFileStyle | back to summary |
|---|---|
| private void addFileStyle(String path, StyleRun style) | |
| addSemanticStyle | back to summary |
|---|---|
| private void addSemanticStyle(Def def, StyleRun. | |
| addSemanticStyles | back to summary |
|---|---|
| private void addSemanticStyles(NBinding nb) Add additional highlighting styles based on information not evident from the AST.
| |
| findLinks | back to summary |
|---|---|
| public void findLinks(Indexer indexer) Process all bindings across all files and record per-file semantic styles. Should be called once per index. | |
| getStyles | back to summary |
|---|---|
| public List Returns the styles (links and extra styles) generated for a given file. | |
| processDefs | back to summary |
|---|---|
| private void processDefs(NBinding nb) Create name anchors for definition sites. | |
| processRef | back to summary |
|---|---|
| pack-priv void processRef(Ref ref, NBinding nb) Adds a hyperlink for a single reference. | |
| processRefs | back to summary |
|---|---|
| private void processRefs(NBinding nb) Collect cross-reference links for every file. | |
| stylesForFile | back to summary |
|---|---|
| private List | |
| toModuleUrl | back to summary |
|---|---|
| private String toModuleUrl(NBinding nb) Generate an anchorless URL linking to another file in the index. | |
| toURL | back to summary |
|---|---|
| private String toURL(NBinding nb, String path) Generate a URL for a reference to a binding. | |