public class ModuleDocumentation extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.eclipse.golo.doc.AugmentationDocumentation> |
augmentations() |
default int |
compareTo(org.eclipse.golo.doc.DocumentationElement other) |
java.lang.String |
documentation()
The documentation comment for the element.
|
java.lang.String |
fullName()
The fully qualified named of the element.
|
java.util.SortedSet<org.eclipse.golo.doc.FunctionDocumentation> |
functions() |
java.util.SortedSet<org.eclipse.golo.doc.FunctionDocumentation> |
functions(boolean withLocal) |
java.lang.String |
goloVersion() |
java.lang.String |
id()
A unique identifier for the element.
|
java.util.Map<java.lang.String,java.lang.Integer> |
imports() |
default java.lang.String |
label()
A readable representation of the element.
|
int |
line()
The line where the element is defined.
|
static ModuleDocumentation |
load(java.lang.String filename,
GoloCompiler compiler) |
int |
moduleDefLine() |
java.lang.String |
moduleDocumentation() |
java.lang.String |
moduleName() |
java.util.Map<java.lang.String,java.lang.Integer> |
moduleStates() |
java.lang.String |
name()
The simple name of the element.
|
java.util.Collection<org.eclipse.golo.doc.NamedAugmentationDocumentation> |
namedAugmentations() |
org.eclipse.golo.doc.DocumentationElement |
parent()
The parent element.
|
java.util.SortedSet<org.eclipse.golo.doc.StructDocumentation> |
structs() |
java.lang.String |
type()
A readable name for the kind of element.
|
java.util.SortedSet<org.eclipse.golo.doc.UnionDocumentation> |
unions() |
public java.lang.String type()
public static ModuleDocumentation load(java.lang.String filename, GoloCompiler compiler) throws java.io.IOException
java.io.IOException
public java.lang.String goloVersion()
public java.util.SortedSet<org.eclipse.golo.doc.StructDocumentation> structs()
public java.util.SortedSet<org.eclipse.golo.doc.UnionDocumentation> unions()
public java.util.SortedSet<org.eclipse.golo.doc.FunctionDocumentation> functions()
public java.util.SortedSet<org.eclipse.golo.doc.FunctionDocumentation> functions(boolean withLocal)
public java.lang.String moduleName()
public java.lang.String name()
public java.lang.String fullName()
Typically, the parent full name and the element name.
public java.lang.String id()
Can be used in html ID for instance.
public org.eclipse.golo.doc.DocumentationElement parent()
For toplevel element, this is the module. For functions, it can be the augmentation. For union values, it is the union.
public int moduleDefLine()
public int line()
public java.lang.String moduleDocumentation()
public java.lang.String documentation()
public java.util.Map<java.lang.String,java.lang.Integer> moduleStates()
public java.util.Collection<org.eclipse.golo.doc.AugmentationDocumentation> augmentations()
public java.util.Collection<org.eclipse.golo.doc.NamedAugmentationDocumentation> namedAugmentations()
public java.util.Map<java.lang.String,java.lang.Integer> imports()
public java.lang.String label()
Typically the name, but can also contains argument names for functions for instance.
public int compareTo(org.eclipse.golo.doc.DocumentationElement other)
compareTo
in interface java.lang.Comparable<org.eclipse.golo.doc.DocumentationElement>