InterfaceDetails

Information about an interface or class

Members

Functions

isEmpty
bool isEmpty()

Returns true if there are no non-whitespace characters inside the block.

Variables

blockRange
size_t[2] blockRange;

Range containing the starting and ending braces of the body.

code
const(char)[] code;

Entire code of the file

fields
FieldDetails[] fields;

Plain old variable fields in this container.

methods
MethodDetails[] methods;

All methods defined in this container.

name
string name;

Name of the interface or class.

needsOverride
bool needsOverride;

True if this is a class and therefore need to override methods using override.

normalizedParents
string[] normalizedParents;

Name of all base classes or interfaces. Should use normalizedParents,

parentPositions
int[] parentPositions;

Absolute code position after the colon where the corresponding parent name starts.

parents
string[] parents;
Undocumented in source.
referencedTypes
ReferencedType[] referencedTypes;

A (name-based) sorted set of referenced types with first occurences of every type or alias not including built-in types, but including object.d types and aliases.

types
TypeDetails[] types;

A list of nested types and locations defined in this interface/class.

Meta