Urara-Blog/node_modules/.pnpm-store/v3/files/9c/fad38b5015245d163e9f16f7c95e43bd0c9af3dd9101afe1e19523eb1a67c41f7b01812e164745a8a51a4966c6dbf49b91881b36987809fc954584eb54a11a
2022-08-14 01:14:53 +08:00

1 line
No EOL
432 B
Text

Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/};