| 1 |
{ |
| 2 |
"fileTypes": ["jssm", "jssm_state"], |
| 3 |
"name": "jssm", |
| 4 |
"patterns": [ |
| 5 |
{ |
| 6 |
"begin": "/\\*", |
| 7 |
"captures": { |
| 8 |
"0": { |
| 9 |
"name": "punctuation.definition.comment.mn" |
| 10 |
} |
| 11 |
}, |
| 12 |
"comment": "block comment", |
| 13 |
"end": "\\*/", |
| 14 |
"name": "comment.block.jssm" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"begin": "//", |
| 18 |
"comment": "block comment", |
| 19 |
"end": "$", |
| 20 |
"name": "comment.line.jssm" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"begin": "\\${", |
| 24 |
"captures": { |
| 25 |
"0": { |
| 26 |
"name": "entity.name.function" |
| 27 |
} |
| 28 |
}, |
| 29 |
"comment": "js outcalls", |
| 30 |
"end": "}", |
| 31 |
"name": "keyword.other" |
| 32 |
}, |
| 33 |
{ |
| 34 |
"comment": "semver", |
| 35 |
"match": "([0-9]*)(\\.)([0-9]*)(\\.)([0-9]*)", |
| 36 |
"name": "constant.numeric" |
| 37 |
}, |
| 38 |
{ |
| 39 |
"comment": "jssm language tokens", |
| 40 |
"match": "graph_layout(\\s*)(:)", |
| 41 |
"name": "constant.language.jssmLanguage" |
| 42 |
}, |
| 43 |
{ |
| 44 |
"comment": "jssm language tokens", |
| 45 |
"match": "machine_name(\\s*)(:)", |
| 46 |
"name": "constant.language.jssmLanguage" |
| 47 |
}, |
| 48 |
{ |
| 49 |
"comment": "jssm language tokens", |
| 50 |
"match": "machine_version(\\s*)(:)", |
| 51 |
"name": "constant.language.jssmLanguage" |
| 52 |
}, |
| 53 |
{ |
| 54 |
"comment": "jssm language tokens", |
| 55 |
"match": "jssm_version(\\s*)(:)", |
| 56 |
"name": "constant.language.jssmLanguage" |
| 57 |
}, |
| 58 |
{ |
| 59 |
"comment": "transitions", |
| 60 |
"match": "<->", |
| 61 |
"name": "keyword.control.transition.jssmArrow.legal_legal" |
| 62 |
}, |
| 63 |
{ |
| 64 |
"comment": "transitions", |
| 65 |
"match": "<-", |
| 66 |
"name": "keyword.control.transition.jssmArrow.legal_none" |
| 67 |
}, |
| 68 |
{ |
| 69 |
"comment": "transitions", |
| 70 |
"match": "->", |
| 71 |
"name": "keyword.control.transition.jssmArrow.none_legal" |
| 72 |
}, |
| 73 |
{ |
| 74 |
"comment": "transitions", |
| 75 |
"match": "<=>", |
| 76 |
"name": "keyword.control.transition.jssmArrow.main_main" |
| 77 |
}, |
| 78 |
{ |
| 79 |
"comment": "transitions", |
| 80 |
"match": "=>", |
| 81 |
"name": "keyword.control.transition.jssmArrow.none_main" |
| 82 |
}, |
| 83 |
{ |
| 84 |
"comment": "transitions", |
| 85 |
"match": "<=", |
| 86 |
"name": "keyword.control.transition.jssmArrow.main_none" |
| 87 |
}, |
| 88 |
{ |
| 89 |
"comment": "transitions", |
| 90 |
"match": "<~>", |
| 91 |
"name": "keyword.control.transition.jssmArrow.forced_forced" |
| 92 |
}, |
| 93 |
{ |
| 94 |
"comment": "transitions", |
| 95 |
"match": "~>", |
| 96 |
"name": "keyword.control.transition.jssmArrow.none_forced" |
| 97 |
}, |
| 98 |
{ |
| 99 |
"comment": "transitions", |
| 100 |
"match": "<~", |
| 101 |
"name": "keyword.control.transition.jssmArrow.forced_none" |
| 102 |
}, |
| 103 |
{ |
| 104 |
"comment": "transitions", |
| 105 |
"match": "<-=>", |
| 106 |
"name": "keyword.control.transition.jssmArrow.legal_main" |
| 107 |
}, |
| 108 |
{ |
| 109 |
"comment": "transitions", |
| 110 |
"match": "<=->", |
| 111 |
"name": "keyword.control.transition.jssmArrow.main_legal" |
| 112 |
}, |
| 113 |
{ |
| 114 |
"comment": "transitions", |
| 115 |
"match": "<-~>", |
| 116 |
"name": "keyword.control.transition.jssmArrow.legal_forced" |
| 117 |
}, |
| 118 |
{ |
| 119 |
"comment": "transitions", |
| 120 |
"match": "<~->", |
| 121 |
"name": "keyword.control.transition.jssmArrow.forced_legal" |
| 122 |
}, |
| 123 |
{ |
| 124 |
"comment": "transitions", |
| 125 |
"match": "<=~>", |
| 126 |
"name": "keyword.control.transition.jssmArrow.main_forced" |
| 127 |
}, |
| 128 |
{ |
| 129 |
"comment": "transitions", |
| 130 |
"match": "<~=>", |
| 131 |
"name": "keyword.control.transition.jssmArrow.forced_main" |
| 132 |
}, |
| 133 |
{ |
| 134 |
"comment": "edge probability annotation", |
| 135 |
"match": "([0-9]+)%", |
| 136 |
"name": "constant.numeric.jssmProbability" |
| 137 |
}, |
| 138 |
{ |
| 139 |
"comment": "action annotation", |
| 140 |
"match": "\\'[^']*\\'", |
| 141 |
"name": "constant.character.jssmAction" |
| 142 |
}, |
| 143 |
{ |
| 144 |
"comment": "jssm label annotation", |
| 145 |
"match": "\\\"[^\"]*\\\"", |
| 146 |
"name": "entity.name.tag.jssmLabel.doublequoted" |
| 147 |
}, |
| 148 |
{ |
| 149 |
"comment": "jssm label annotation", |
| 150 |
"match": "([a-zA-Z0-9_.+&()#@!?,])", |
| 151 |
"name": "entity.name.tag.jssmLabel.atom" |
| 152 |
} |
| 153 |
], |
| 154 |
"scopeName": "source.jssm", |
| 155 |
"uuid": "2bb22b55-e811-4383-9929-ae6d0ab92aca" |
| 156 |
} |
| 157 |
|