Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1534260/root/usr/share/nodejs/@types/codemirror/addon/mode/ |
Upload File : |
import * as CodeMirror from '../../'; export interface MultiplexedInnerMode { open: string; close: string; mode: CodeMirror.Mode<any>; parseDelimiters?: boolean | undefined; delimStyle?: string | undefined; innerStyle?: string | undefined; } declare module '../../' { /** * Mode combinator that can be used to easily 'multiplex' between several modes. * When given as first argument a mode object, and as other arguments any number of * {open, close, mode [, delimStyle, innerStyle, parseDelimiters]} objects, it will return a mode object that starts parsing * using the mode passed as first argument, but will switch to another mode as soon as it encounters a string that occurs in * one of the open fields of the passed objects. When in a sub-mode, it will go back to the top mode again when the close * string is encountered. Pass "\n" for open or close if you want to switch on a blank line. * * When delimStyle is specified, it will be the token style returned for the delimiter tokens (as well as [delimStyle]-open on * the opening token and [delimStyle]-close on the closing token). * When innerStyle is specified, it will be the token style added for each inner mode token. * When parseDelimiters is true, the content of the delimiters will also be passed to the inner mode. (And delimStyle is ignored.) * * The outer mode will not see the content between the delimiters. */ function multiplexingMode(outer: Mode<any>, ...others: MultiplexedInnerMode[]): Mode<any>; }