interface Behaviour {
    $behaviours: { [behaviour: string]: any };
    add(name: string, action: string, callback: BehaviorAction): void;
    addBehaviours(behaviours: BehaviorMap): void;
    getBehaviours(filter?: string[]): BehaviorMap;
    inherit(mode: SyntaxMode | new () => SyntaxMode, filter: string[]): void;
    remove(name: string): void;
}

Properties

$behaviours: { [behaviour: string]: any }

Methods