import{t as e}from"./simple-mode-F11b4PQH.js";var t=e({start:[{regex:/\b0x[0-9a-f]+\b/i,token:`number`},{regex:/\b-?\d+\b/,token:`number`},{regex:/#.+/,token:`comment`},{regex:/\s*(@onready|@export)\b/,token:`keyword`},{regex:/\b(?:and|as|assert|await|break|breakpoint|const|continue|elif|else|enum|for|if|in|is|master|mastersync|match|not|null|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|static|tool|var|while|yield)\b/,token:`keyword`},{regex:/[()\[\]{},]/,token:`meta`},{regex:/\b(func|class_name|class|extends|signal)\b/,token:`keyword`,push:`definition`},{regex:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,token:`string`},{regex:/\$[\w\/]+\b/,token:`variable`},{regex:/\:[\s]*$/,token:`operator`},{regex:/\:[ ]*/,token:`meta`,push:`var_type`},{regex:/\->[ ]*/,token:`operator`,push:`definition`},{regex:/\+|\*|-|\/|:=|>|<|\^|&|\||%|~|=/,token:`operator`},{regex:/\b(?:false|true)\b/,token:`number`},{regex:/\b[A-Z][A-Z_\d]*\b/,token:`operator`}],var_type:[{regex:/(\w+)/,token:`attribute`,pop:!0}],definition:[{regex:/(\w+)/,token:`attribute`,pop:!0}]});export{t as gdscript};