UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

16 lines (15 loc) 921 B
import { l as languages } from "../../index-DF54SWhA.js"; import { e as extend, i as insertBefore } from "../../language-BqHrf6z-.js"; import { t as tag } from "../../xml-shared-D-sSvkQn.js"; import "./javascript.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 }); //# sourceMappingURL=actionscript.js.map