Skip to content

Class: Interface

Represents an interface or protocol definition.

Constructors

Constructor

new Interface(identifier, extendsSymbol, expression, loc?): Interface

Parameters

ParameterType
identifierSymbolPrimitive
extendsSymbolSymbolPrimitive[]
expressionExpression
loc?SourceLocation

Returns

Interface

Overrides

ASTNode.constructor