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

Psym : FilterPattern : Pattern : AbstractFunction : Object

use a pattern of symbols to embed Pdefs
Source: Psym.sc
Subclasses: Pnsym, Psym1, Ptsym

Description

for non-event patterns see Pnsym. Overview: JITLib.

Class Methods

Psym.new(pattern, dict)

Arguments:

pattern

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

dict

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

Inherited class methods

Instance Methods

.dict

.dict = value

set the dictionary to be used.

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.getPattern(key)

.lookUp(key)

.lookupClass

Examples