UNPKG

ace-mode-move

Version:

Syntax highlighting for Libra's Move language (https://developers.libra.org/docs/move-paper), for Ace ( https://ace.c9.io/ )

306 lines (305 loc) 4.23 kB
[ [ { "type": "comment.line.double-slash", "value": "// Block = '{' Statement* '}'" } ], [ { "type": "paren.lparen", "value": "{" }, { "type": "paren.rparen", "value": "}" } ], [], [ { "type": "paren.lparen", "value": "{" } ], [ { "type": "text", "value": " " } ], [ { "type": "paren.rparen", "value": "}" } ], [], [ { "type": "paren.lparen", "value": "{" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "a" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "0" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "paren.rparen", "value": "}" } ], [], [ { "type": "paren.lparen", "value": "{" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "a" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "0" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "b" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "1" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "paren.rparen", "value": "}" } ], [], [ { "type": "paren.lparen", "value": "{" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "a" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "0" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "b" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "1" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "text", "value": " " }, { "type": "storage.type", "value": "uint256" }, { "type": "text", "value": " " }, { "type": "identifier", "value": "c" }, { "type": "text", "value": " " }, { "type": "keyword.operator", "value": "=" }, { "type": "text", "value": " " }, { "type": "constant.numeric", "value": "2" }, { "type": "punctuation.operator", "value": ";" } ], [ { "type": "paren.rparen", "value": "}" } ], [] ]