2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[46422],{46422:function(r,p,s){r=s.nmd(r),ace.define("ace/mode/vhdl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,i,l){"use strict";var n=e("../lib/oop"),a=e("./text_highlight_rules").TextHighlightRules,o=function(){var t="access|after|alias|all|architecture|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|context|disconnect|downto|else|elsif|end|entity|exit|file|for|force|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|of|on|or|open|others|out|package|parameter|port|postponed|procedure|process|protected|pure|range|record|register|reject|release|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with",g="bit|bit_vector|boolean|character|integer|line|natural|positive|real|register|signed|std_logic|std_logic_vector|string||text|time|unsigned",u="array|constant",c="abs|and|mod|nand|nor|not|rem|rol|ror|sla|sll|srasrl|xnor|xor",d="true|false|null",h=this.createKeywordMapper({"keyword.operator":c,keyword:t,"constant.language":d,"storage.modifier":u,"storage.type":g},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"keyword",regex:"\\s*(?:library|package|use)\\b"},{token:h,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"&|\\*|\\+|\\-|\\/|<|=|>|\\||=>|\\*\\*|:=|\\/=|>=|<=|<>"},{token:"punctuation.operator",regex:"\\'|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[(]"},{token:"paren.rparen",regex:"[\\])]"},{token:"text",regex:"\\s+"}]}};n.inherits(o,a),i.VHDLHighlightRules=o}),ace.define("ace/mode/vhdl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/vhdl_highlight_rules"],function(e,i,l){"use strict";var n=e("../lib/oop"),a=e("./text").Mode,o=e("./vhdl_highlight_rules").VHDLHighlightRules,t=function(){this.HighlightRules=o,this.$behaviour=this.$defaultBehaviour};n.inherits(t,a),function(){this.lineCommentStart="--",this.$id="ace/mode/vhdl"}.call(t.prototype),i.Mode=t}),function(){ace.require(["ace/mode/vhdl"],function(e){r&&(r.exports=e)})}()}}]);
|