Skip to content

Class: FunctorPattern

Represents a pattern matching a functor or compound term.

Constructors

Constructor

new FunctorPattern(identifier, args, loc?): FunctorPattern

Parameters

ParameterType
identifierSymbolPrimitive
argsPattern[]
loc?SourceLocation

Returns

FunctorPattern

Overrides

ASTNode.constructor