Interface IExpandedMonarchLanguageAction

interface IExpandedMonarchLanguageAction {
    bracket?: string;
    cases?: Object;
    goBack?: number;
    group?: IMonarchLanguageAction[];
    log?: string;
    next?: string;
    nextEmbedded?: string;
    switchTo?: string;
    token?: string;
}

Properties

bracket?: string

Open

or

Close

cases?: Object

map from string to ILanguageAction

goBack?: number

go back n characters in the stream

array of actions for each parenthesized match group

log?: string

log a message to the browser console window

next?: string

the next state to push, or "@push", "@pop", "@popall"

nextEmbedded?: string

switch to embedded language (using the mimetype) or get out using "@pop"

switchTo?: string

switch to this state

token?: string

token class (ie. css class) (or "@brackets" or "@rematch")