()
| 82 | } |
| 83 | |
| 84 | @Test |
| 85 | public void testKeywords() throws Exception { |
| 86 | assertThat(lex("while").getType()).isEqualTo(WHILE); |
| 87 | assertThat(lex("function").getType()).isEqualTo(FUNCTION); |
| 88 | } |
| 89 | |
| 90 | @Test |
| 91 | public void testBooleanLiterals() throws Exception { |