UNPKG

motoko

Version:

Compile and run Motoko smart contracts in Node.js or the browser.

82 lines (80 loc) 1.06 kB
export const keywords = [ 'actor', 'and', 'async', 'assert', 'await', 'break', 'case', 'catch', 'class', 'composite', 'continue', 'debug', 'debug_show', 'do', 'else', 'false', 'finally', 'flexible', 'for', 'from_candid', 'func', 'if', 'ignore', 'implicit', 'in', 'include', 'import', 'label', 'let', 'loop', 'mixin', 'module', 'not', 'null', 'object', 'or', 'persistent', 'private', 'public', 'query', 'return', 'shared', 'stable', 'switch', 'system', 'throw', 'to_candid', 'transient', 'true', 'try', 'type', 'var', 'weak', 'while', 'with', ]; export const typeKeywords = [ 'Any', 'None', 'Null', 'Bool', 'Int', 'Int8', 'Int16', 'Int32', 'Int64', 'Nat', 'Nat8', 'Nat16', 'Nat32', 'Nat64', 'Float', 'Float32', 'Char', 'Text', 'Blob', 'Error', 'Principal', ];