Skip to content

Class: Attribute

Represents an attribute or instance variable of an object.

Constructors

Constructor

new Attribute(identifier, expression, loc?): Attribute

Parameters

ParameterType
identifierSymbolPrimitive
expressionExpression
loc?SourceLocation

Returns

Attribute

Overrides

ASTNode.constructor