Class JSDoc::JSDocRecordTypeExpr

A record type expression such as { x: number, y: string }.

Direct supertypes

Indirect supertypes

Predicates

getAFieldName

Gets the name of some field of the record type.

getFieldName

Gets the name of the ith field of the record type.

getFieldType

Gets the type of the ith field of the record type.

getFieldTypeByName

Gets the type of the field with the given name.

Inherited predicates

getChild

Gets the ith child type expression of this type expression.

from JSDocTypeExpr
getIndex

Gets the index of this type expression within its parent.

from JSDocTypeExpr
getParent

Gets the syntactic element in which this type expression is nested, which may either be another type expression or a JSDoc tag.

from JSDocTypeExpr
toString

Gets a textual representation of this element.

from JSDocTypeExpr