UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

16 lines (15 loc) 975 B
import { a as languages } from "../../core-8vQkh0Rd.js"; import { n as extend, r as insertBefore } from "../../language-D-vtM55V.js"; import "./javascript.js"; import { n as tag } from "../../xml-shared-BvyhLOaL.js"; //#region src/prism/languages/actionscript.js var actionscript = languages.actionscript = extend("javascript", { "keyword": /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|[gs]et|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, "operator": /--|\+\+|[!=]==|(?:&&|\|\||<<|>>>?|[%&|^!=<>/*+-])=?|[~?@]/ }); actionscript["class-name"].alias = "function"; delete actionscript["parameter"]; delete actionscript["literal-property"]; insertBefore(actionscript, "regex", { "tag": tag }); //#endregion //# sourceMappingURL=actionscript.js.map