jsii-docgen
Version:
generates api docs for jsii modules
33 lines (32 loc) • 1.32 kB
TypeScript
import * as reflect from 'jsii-reflect';
import * as transpile from './transpile';
export declare class CSharpTranspile extends transpile.TranspileBase {
constructor();
moduleLike(moduleLike: reflect.ModuleLike): transpile.TranspiledModuleLike;
type(type: reflect.Type): transpile.TranspiledType;
callable(callable: reflect.Callable): transpile.TranspiledCallable;
class(klass: reflect.ClassType): transpile.TranspiledClass;
struct(struct: reflect.InterfaceType): transpile.TranspiledStruct;
interface(iface: reflect.InterfaceType): transpile.TranspiledInterface;
parameter(parameter: reflect.Parameter): transpile.TranspiledParameter;
property(property: reflect.Property): transpile.TranspiledProperty;
enum(enu: reflect.EnumType): transpile.TranspiledEnum;
enumMember(em: reflect.EnumMember): transpile.TranspiledEnumMember;
unionOf(): string;
listOf(type: string): string;
variadicOf(type: string): string;
mapOf(type: string): string;
any(): string;
void(): string;
str(): string;
number(): string;
boolean(): string;
json(): string;
date(): string;
readme(readme: string): string;
private formatImport;
private formatFnParam;
private formatStructBuilder;
private formatParameter;
private formatProperty;
}