🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
38
node_modules/prismjs/components/prism-smalltalk.js
generated
vendored
Normal file
38
node_modules/prismjs/components/prism-smalltalk.js
generated
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
Prism.languages.smalltalk = {
|
||||
'comment': {
|
||||
pattern: /"(?:""|[^"])*"/,
|
||||
greedy: true
|
||||
},
|
||||
'char': {
|
||||
pattern: /\$./,
|
||||
greedy: true
|
||||
},
|
||||
'string': {
|
||||
pattern: /'(?:''|[^'])*'/,
|
||||
greedy: true
|
||||
},
|
||||
'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
||||
'block-arguments': {
|
||||
pattern: /(\[\s*):[^\[|]*\|/,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'variable': /:[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'temporary-variables': {
|
||||
pattern: /\|[^|]+\|/,
|
||||
inside: {
|
||||
'variable': /[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'keyword': /\b(?:new|nil|self|super)\b/,
|
||||
'boolean': /\b(?:false|true)\b/,
|
||||
'number': [
|
||||
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
||||
/\b\d+(?:\.\d+)?(?:e-?\d+)?/
|
||||
],
|
||||
'operator': /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
||||
'punctuation': /[.;:?\[\](){}]/
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue