idea: brace matching and function resolution

This commit is contained in:
2023-09-21 21:08:20 -07:00
parent c4f65a66ca
commit d12aadf18c
22 changed files with 229 additions and 49 deletions

View File

@ -39,9 +39,9 @@ enum class TokenType(vararg properties: TokenTypeProperty) {
RightBracket(SingleChar(']')),
LeftParentheses(SingleChar('(')),
RightParentheses(SingleChar(')')),
Not(ManyChars("not"), OperatorFamily),
Mod(ManyChars("mod"), OperatorFamily),
Rem(ManyChars("rem"), OperatorFamily),
Not(ManyChars("not"), KeywordFamily),
Mod(ManyChars("mod"), KeywordFamily),
Rem(ManyChars("rem"), KeywordFamily),
Comma(SingleChar(',')),
DotDotDot(ManyChars("...")),
DotDot(ManyChars(".."), Promotion('.', DotDotDot)),