Assembler.AssemblyTokenizer.IsTermOperation C# (CSharp) Method

IsTermOperation() public static method

public static IsTermOperation ( TokenType type ) : bool
type TokenType
return bool
        public static bool IsTermOperation(TokenType type)
        {
            return new HashSet<TokenType>
            {
                TokenType.Multiply,
                TokenType.Divide,
                TokenType.Modulo
            }.Contains(type);
        }