Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
df46aceb2This file is pinned to the selected release. Download the original to open it in your design tool.
import TokenType from "./TokenType";
/**
* A dictionary which maps keyword string values to their TokenType.
*/
const keywords: { [x: string]: TokenType } = {
true: TokenType.True,
false: TokenType.False,
undef: TokenType.Undef,
module: TokenType.Module,
function: TokenType.Function,
if: TokenType.If,
else: TokenType.Else,
for: TokenType.For,
assert: TokenType.Assert,
each: TokenType.Each,
echo: TokenType.Echo,
use: TokenType.Use,
let: TokenType.Let
};
export default keywords;