Pnsym:
Filter:
Classes | JITLib > Patterns | Live Coding

Pnsym : Psym : FilterPattern : Pattern : AbstractFunction : Object

use a pattern of symbols to embed Pdefns
Source: Psym.sc
Subclasses: Pnsym1

Description

for event patterns see Psym. Overview: JITLib.

Class Methods

Pnsym.new(pattern, dict)

From superclass: Psym

Arguments:

pattern

a pattern that returns symbols or characters. Arrays are converted to parallel patterns (Ptuple).

dict

the dictionary to be used for lookup. By default, this is Pdefn.all, so one can embed Pdefns by name.

Inherited class methods

Instance Methods

.dict

.dict = value

From superclass: Psym

set the dictionary to be used.

Inherited instance methods

Undocumented instance methods

.lookupClass

Examples