Class: FunctorPattern
Represents a pattern matching a functor or compound term.
Constructors
Constructor
new FunctorPattern(
identifier,args,loc?):FunctorPattern
Parameters
| Parameter | Type |
|---|---|
identifier | SymbolPrimitive |
args | Pattern[] |
loc? | SourceLocation |
Returns
FunctorPattern
Overrides
ASTNode.constructor