Update SymbolLexer.cs

This commit is contained in:
Sinai 2021-05-10 16:35:37 +10:00
parent caad39bb9a
commit 4f50afdddc

View File

@ -20,14 +20,6 @@ namespace UnityExplorer.UI.CSharpConsole.Lexers
'<', '>', '?', '!', '@'
};
// // actual valid symbol combinations
// private readonly HashSet<string> actualSymbols = new HashSet<string>
// {
//"[", "]", "(", ")", "{", "}", ".", ",", ";", ":", "+", "-", "*", "/", "%", "&", "|", "^", "~", "=",
//"<", ">", "++", "--", "&&", "||", "<<", ">>", "==", "!=", "<=", ">=", "+=", "-=", "*=", "/=", "%=",
//"&=", "|=", "^=", "<<=", ">>=", "->", "!", "?", "??", "@", "=>",
// };
public override bool TryMatchCurrent(LexerBuilder lexer)
{
// previous character must be delimiter, whitespace, or alphanumeric.