File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1
1
Prism . languages . pluto = {
2
2
'comment' : / ^ # ! .+ | - - (?: \[ ( = * ) \[ [ \s \S ] * ?\] \1\] | .* ) / m,
3
3
'attr-name' : / (?< = ( f u n c t i o n | c l a s s | e x t e n d s ) \s ) [ \w : ] + / ,
4
- 'keyword' : / \$ | \b (?: a n d | a s | c l a s s | p l u t o _ c l a s s | e n u m | b e g i n | b r e a k | d o | e l s e | e l s e i f | e n d | f o r | f u n c t i o n | g o t o | i f | i n | l o c a l | n e w | n o t | o r | r e p e a t | r e t u r n | s t a t i c | t h e n | u n t i l | w h i l e | c o n t i n u e | s w i t c h | c a s e | d e f a u l t | p l u t o _ s w i t c h | p l u t o _ c o n t i n u e | e x t e n d s | e x p o r t | p l u t o _ e x p o r t | p l u t o _ u s e | p u b l i c | p r i v a t e | t r y | c a t c h | p l u t o _ t r y | p l u t o _ c a t c h ) \b / ,
4
+ 'keyword' : / \$ | \b (?: a n d | a s | c l a s s | p l u t o _ c l a s s | e n u m | b e g i n | b r e a k | d o | e l s e | e l s e i f | e n d | f o r | g o t o | i f | i n | l o c a l | n e w | n o t | o r | r e p e a t | r e t u r n | s t a t i c | t h e n | u n t i l | w h i l e | c o n t i n u e | s w i t c h | c a s e | d e f a u l t | p l u t o _ s w i t c h | p l u t o _ c o n t i n u e | e x t e n d s | e x p o r t | p l u t o _ e x p o r t | p l u t o _ u s e | p u b l i c | p r i v a t e | t r y | c a t c h | p l u t o _ t r y | p l u t o _ c a t c h ) \b / ,
5
5
'function' : [
6
6
/ \b (? ! i n \s ) (? ! \d ) (? ! r e t u r n ) (? ! c a s e ) (? ! f u n c t i o n ) (? ! l o c a l ) (? ! n e w ) \w + (? = \s * (?: \? ? \( ) ) / , // func()
7
7
/ \b (? ! i n \s ) (? ! \d ) (? ! r e t u r n ) (? ! c a s e ) (? ! f u n c t i o n ) (? ! l o c a l ) (? ! n o t ) \w + (? = \s * (?: \? ? [ { " ] ) ) / , // func "", func {}
You can’t perform that action at this time.
0 commit comments